byteSlot

fun byteSlot(field: IntegerSlotsEnum, byteSubscript: Int): Short

Extract the byte at the given one-based byte subscript within the specified field. Always use little-endian encoding.

Return

The unsigned byte as a short.

Parameters

field

An enumeration value representing an integer field.

byteSubscript

Which byte to extract.