From 40d7c90595ce34c6c6a1c33a450a53b8e931578e Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 5 Jan 2024 07:01:27 -0500 Subject: [PATCH] refactor: add uint64 and Base64UrlBinary value support to marshallMapMsgpack --- metadata/directory_map.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/metadata/directory_map.go b/metadata/directory_map.go index 4ec3e30..09cd176 100644 --- a/metadata/directory_map.go +++ b/metadata/directory_map.go @@ -113,6 +113,15 @@ func marshallMapMsgpack(enc *msgpack.Encoder, m *linkedhashmap.Map) error { if err := enc.EncodeInt(int64(v)); err != nil { return err } + + case uint64: + if err := enc.EncodeInt(int64(v)); err != nil { + return err + } + case Base64UrlBinary: + if err := enc.Encode(&v); err != nil { + return err + } case FileVersion: if err := enc.Encode(&v); err != nil { return err