Closed endel closed 7 years ago
Use MessagePackSerializer.Get<MessagePackObject>()
instead.
MessagePackSerializer.PackSingleObject(object)
is just a non generic wrapper for PackSingleObject(T)
.
Thank you so much for your swift reply @yfakariya, as always! 🎉
Hi there,
Given that I have a
MessagePackObject
instance, I'd like to have abyte[]
of its representation.I basically want to re-serialize the de-serialized object back to
byte[]
.My failed attempt:
Error message:
This is very simple to achieve in JavaScript. (
msgpack.encode( msgpack.decode( packedMessage ) )
)Thanks in advance.