object Companion
source · line 253public
public companion : ValueEncoder<ULong>, ValueDecoder<ULong>, ValueInspector<ULong>
- Supertype
ValueEncoder<ULong> - Supertype
ValueDecoder<ULong> - Supertype
ValueInspector<ULong>
Fixed representation bounds and the scalar encoding, decoding, and inspection protocols.
function encode
source · line 272public
public override fun encode(value: ULong, encoder: Encoder): Unit
- Overrides
encode· ValueEncoder
Writes the integer through the encoder's single-value container.
parameter encoder
source · line 272public
encoder: Encoder
parameter value
source · line 272public
value: ULong
property MAX_VALUE
source · line 267public
public const val MAX_VALUE: ULong
get: public read-only
The largest representable 64-bit unsigned integer.
function inspect
source · line 257public
public override fun inspect(value: ULong): ValueView
- Overrides
inspect· ValueInspector
Exposes the integer as a scalar value observation without reference identity.
parameter value
source · line 257public
value: ULong
function decode
source · line 279public
public override fun decode(decoder: Decoder): ULong
- Overrides
decode· ValueDecoder
Decodes an integer and rejects values outside the 64-bit unsigned range with DecodingException.
parameter decoder
source · line 279public
decoder: Decoder
property MIN_VALUE
source · line 263public
public const val MIN_VALUE: ULong
get: public read-only
The smallest representable 64-bit unsigned integer.