static fun encodeInt8(value: Int): Bytes!
Encode an 8-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 8 bits
IllegalArgumentException
Return Bytes!: the SSZ encoding in a Bytes value