Skip to content

fix WriteBytes itemCount#10

Open
w570955342 wants to merge 1 commit intol1va:masterfrom
w570955342:master
Open

fix WriteBytes itemCount#10
w570955342 wants to merge 1 commit intol1va:masterfrom
w570955342:master

Conversation

@w570955342
Copy link

Hello. I think WriteBytes itemCount maybe uint16(len(b)/2), not uint16(len(b)).

@l1va
Copy link
Owner

l1va commented Dec 28, 2019

Hi, agree that in common case it should be /2 but can you add a test or some to discuss the behavior on concrete example?

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.

2 participants