static fun encodeInt16(value: Int): Bytes
Encode a 16-bit two's-compliment integer to a Bytes value.
value - the integer to encode
value
IllegalArgumentException - if the value is too large to be represented in 16 bits
IllegalArgumentException
Return the SSZ encoding in a Bytes value