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