msgpack-go icon indicating copy to clipboard operation
msgpack-go copied to clipboard

[fix] PackBytes bug when length < MAX16BIT

Open huangwei1024 opened this issue 7 years ago • 0 comments

writer.Write(Bytes{RAW16, byte(length >> 16), byte(length)})
return (uint16(data[0]) << 8) | uint16(data[1]), n, nil

pack mismatch with unpack when RAW16

huangwei1024 avatar Mar 16 '17 17:03 huangwei1024