static fun encodeInt16(value: Int): Bytes!
Encode a 16-bit two's-compliment 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