tuweni / org.apache.tuweni.ssz / SSZWriter / writeInt16

writeInt16

open fun writeInt16(value: Int): Unit (source)

Write a 16-bit two's-compliment integer to the output.

Parameters

value - Int: the integer to write

Exceptions

IllegalArgumentException - If the value is too large to be represented in 16 bits