ZeroAsByteSerializer

@ExperimentalSince(version = KotoolsTypesVersion.V4_5_3)
class ZeroAsByteSerializer : KSerializer<Zero>

Class responsible for serializing the Zero type as Byte.

Constructors

Link copied to clipboard
constructor()

Creates an instance of ZeroAsByteSerializer.

Properties

Link copied to clipboard

Describes the structure of the serializable representation of Zero, produced by this serializer.

Functions

Link copied to clipboard
override fun deserialize(decoder: Decoder): Zero

Deserializes the value of type Zero using the format represented by the specified decoder.

Link copied to clipboard
operator override fun equals(other: Any?): Boolean

Returns true if the other object is an instance of ZeroAsByteSerializer, or returns false otherwise.

Link copied to clipboard
override fun hashCode(): Int

Returns a hash code value for this serializer.

Link copied to clipboard
override fun serialize(encoder: Encoder, value: Zero)

Serializes the specified value using the format represented by the specified encoder.

Link copied to clipboard
override fun toString(): String

Returns the string representation of this serializer, corresponding to its simple name.