Hi @yfakariya
From my understanding, MsgPack 5 supports distinction between string values to binary values.
How can I determinate what have I read from the stream?
I tried this code
MemoryStream stream = new MemoryStream();
Packer packer = Packer.Create(stream);
packer.PackBinary(new byte[16]);
stream.Position = 0;
Unpacker unpacker = Unpacker.Create(stream);
unpacker.Read();
Type type = unpacker.LastReadData.UnderlyingType; // string?
But it tells me a string was written.
Thanks
Hi @yfakariya
From my understanding, MsgPack 5 supports distinction between string values to binary values.
How can I determinate what have I read from the stream?
I tried this code
But it tells me a string was written.
Thanks