tuweni / org.apache.tuweni.ssz / SSZWriter / writeUInt16

writeUInt16

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

Write a 16-bit unsigned 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