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
Implement Global.serialize function with SAny -> SByteArray signature to serialize an instance of any type.
It is replacing following existing PRs:
#982 (just started) #984 (just started) #974
Header serialization can be found in #974
Do round-trip tests against Global.deserialize[T] from #979
The text was updated successfully, but these errors were encountered:
It is replacing following existing PRs: #982 (just started) #984 (just started)
#982 (just started) #984 (just started)
@kushti, it may still be useful to have a separate Numeric.toBytes method because generic serialize produces ZigZag encoded bytes for numeric types.
serialize
We can call it Numeric.toBigEndianBytes.
This will be consistent with the existing longToByteArray, byteArrayToLong, byteArrayToBigInt, but will work for all numeric types.
longToByteArray
byteArrayToLong
byteArrayToBigInt
Sorry, something went wrong.
aslesarenko
Successfully merging a pull request may close this issue.
Implement Global.serialize function with SAny -> SByteArray signature to serialize an instance of any type.
It is replacing following existing PRs:
#982 (just started)
#984 (just started)
#974
Header serialization can be found in #974
Do round-trip tests against Global.deserialize[T] from #979
The text was updated successfully, but these errors were encountered: