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