-
Notifications
You must be signed in to change notification settings - Fork 193
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
Allownil in []byte is useless #362
Comments
Allownil in []byte is useless |
Resulting in the same output, since all are included as 0 length arrays, and therefore it will never emit nil values.
|
There is a quirk in |
@klauspost Thank you! |
Yes. |
Should we reopen this issue? |
As with other types, create a 0 size byte slice when the serialized data says so. This is a functional change, and will require the use of `allownil` to retain the existing behaviour (ie no allocs on nil/zero length slices). Fixes tinylib#362
No description provided.
The text was updated successfully, but these errors were encountered: