setByteSlot

fun setByteSlot(    field: IntegerSlotsEnum,     byteSubscript: Int,     aByte: Short)

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

Parameters

field

An enumeration value representing an integer field.

byteSubscript

Which byte to extract.

aByte

The unsigned byte to write, passed as a short.