Skip to content

[fix] PackBytes bug when length < MAX16BIT#10

Open
huangwei1024 wants to merge 2 commits intomsgpack:masterfrom
huangwei1024:master
Open

[fix] PackBytes bug when length < MAX16BIT#10
huangwei1024 wants to merge 2 commits intomsgpack:masterfrom
huangwei1024:master

Conversation

@huangwei1024
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant