Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strings ignores length on writing #82

Open
beavis88 opened this issue Jan 10, 2023 · 0 comments
Open

Strings ignores length on writing #82

beavis88 opened this issue Jan 10, 2023 · 0 comments

Comments

@beavis88
Copy link

Hi there.
I'm declared string member as follow: name: ['string', 16, 'utf8']
but jBinary writes actual characters only. For example, if name = "test", jBinary writes 4 bytes instead of 16.
WRONG!

@beavis88 beavis88 changed the title String ignores lengths on write Strings ignores length on writing Jan 10, 2023
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

No branches or pull requests

1 participant