msgpack-go
msgpack-go copied to clipboard
[fix] PackBytes bug when length < MAX16BIT
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