We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
type T struct{} var t1, t2 []T data, _ = cbor.Marshal(t1) cbor.Unmarshal(data, &t2) assert.Nil(t1) // true assert.Nil(t2) // true var b1, b2 []byte data, _ := cbor.Marshal(b1) cbor.Unmarshal(data, &b2) assert.Nil(b1) // true assert.Nil(b2) // false
The text was updated successfully, but these errors were encountered:
Note: I actually prefer what it's doing for byte slices for my use case, or alternately making it optional as suggested in #25.
Sorry, something went wrong.
Was fixed by merging #28 (a while ago).
No branches or pull requests
The text was updated successfully, but these errors were encountered: