static fun encodeUInt16(value: Int): Bytes!
Encode a 16-bit unsigned integer to a Bytes value.
Bytes
value - Int: the integer to encode
value
IllegalArgumentException - if the value is too large to be represented in 16 bits
IllegalArgumentException
Return Bytes!: the SSZ encoding in a Bytes value