readXMessage with byte array instead of string #3333
Unanswered
hiendaovinh
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Regarding reading XMessage, the current implementation is using
proto.Reader.ReadString
.For me, my field is using msgpack Marshal and it would be better to receive the msg.Values as
map[string][]byte{}
instead ofmap[string]string
to reduce memory allocation.Is there any possible workaround to support that? Thanks alot.
Beta Was this translation helpful? Give feedback.
All reactions