Skip to content

Fix ByteArrayPacker throws IndexOutOfBoundException #252#256

Merged
yfakariya merged 1 commit into0.9from
fix/#252
Aug 30, 2017
Merged

Fix ByteArrayPacker throws IndexOutOfBoundException #252#256
yfakariya merged 1 commit into0.9from
fix/#252

Conversation

@yfakariya
Copy link
Member

Fix ByteArrayPacker throws IndexOutOfBoundException when the buffer remaining bytes is equal to packed scalar size. #252

This PR fixes a bug that requiring buffer size calculation in PackXxx of ByteArrayPacker forgets its header size (1byte for scalars).

…emaining bytes is equal to packed scalar size. #252
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