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

UByteArray should be serializable #1529

Closed
NorbertSandor opened this issue May 31, 2021 · 2 comments
Closed

UByteArray should be serializable #1529

NorbertSandor opened this issue May 31, 2021 · 2 comments
Labels

Comments

@NorbertSandor
Copy link

I wanted to change the type of a property from ByteArray to UByteArray.
It turned out that only the former is serializable.
I think UByteArray should be serializable by default as well.

@tobias-wahlstrom-hqv
Copy link

Agree on this. When working with cbor you typically interface with a embedded/tiny system that is using unsigned bytes. In the case of bytes, working with signed ones is the odd/strange case. Unsigned is the way to go!

@sandwwraith
Copy link
Member

Duplicate of #1989 — will be fixed in Kotlin 1.7.20 (see #1992)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants