-
Notifications
You must be signed in to change notification settings - Fork 6
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
✨ New Zero
type
#644
Closed
9 tasks done
Milestone
Comments
LVMVRQUXL
added
feature
New feature or request.
common
Item related to all platforms.
labels
Apr 13, 2024
LVMVRQUXL
added a commit
that referenced
this issue
Apr 15, 2024
LVMVRQUXL
added a commit
that referenced
this issue
Apr 15, 2024
LVMVRQUXL
added a commit
that referenced
this issue
Apr 15, 2024
This comment was marked as resolved.
This comment was marked as resolved.
LVMVRQUXL
added a commit
that referenced
this issue
Apr 17, 2024
LVMVRQUXL
added a commit
that referenced
this issue
Apr 17, 2024
LVMVRQUXL
added a commit
that referenced
this issue
Apr 17, 2024
LVMVRQUXL
added a commit
that referenced
this issue
Apr 17, 2024
Refactors this type by extracting the deserialization error in a new `DeserializationError` type.
This comment was marked as duplicate.
This comment was marked as duplicate.
LVMVRQUXL
added a commit
that referenced
this issue
Apr 19, 2024
This comment was marked as resolved.
This comment was marked as resolved.
LVMVRQUXL
added a commit
that referenced
this issue
Apr 22, 2024
Updates the message of the exception thrown when deserializing the `Zero` type from a value fails.
This comment was marked as duplicate.
This comment was marked as duplicate.
This was referenced Apr 26, 2024
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
📝 Description
We want to introduce a
Zero
experimental type, in theorg.kotools.types
package of thetypes
Gradle subproject, for representing the zero number.This type should have the following Application Programming Interface (API):
The serialization and deserialization processes of this type should behave like for the
Byte
type.Here's an example of Kotlin code that encodes and decodes this type using the JavaScript Object Notation (JSON) format from kotlinx.serialization:
🕓 Commit history
Here's the history of commits related to this type made before the existence of this issue: 2df18e4, 43ee104, 5cfccae, 5cf8149, b031be2, e894ff7, d59f69e, 4d4fea9, f79a220, 5793ba6, c6e6a5e, fb29426 and f60d455.
✅ Checklist
object
toclass
, refactor usages and dump the Application Binary Interface (ABI).equals
andhashCode
) with tests, documentation and samples, then dump the ABI.KotoolsTypesSerializers.zero
property for using theZero.equals
override.KotoolsTypesSerializers.all
property for using theZero.equals
override.Zero.Companion.fromByteOrNull
function with tests, documentation and samples, then dump the ABI.Zero.Companion.fromByte
function with tests, documentation and samples, then dump the ABI.ZeroAsByteSerializer.deserialize
function for using theZero.Companion.fromByteOrNull
function.The text was updated successfully, but these errors were encountered: