-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Support decoding binary tagged fields to byte slices #324
Comments
Is this package still maintained ? |
ping It's really weird to store binary data in string... |
ping. I put up a PR for fixing this issue: #989 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the current state, base64-encoded fields tagged with
!!binary
can be decoded to strings, but not to byte slices:cannot unmarshal !!binary `XXXXX ...` into []uint8
.Could both
string
and[]byte
be supported ? It seems logical to allow storing binary data into[]byte
variables.The text was updated successfully, but these errors were encountered: