ssz / org.apache.tuweni.ssz / SSZ / encodeInt32

encodeInt32

static fun encodeInt32(value: Int): Bytes (source)

Encode a 32-bit two's-compliment integer to a Bytes value.

Parameters

value - the integer to encode

Return
the SSZ encoding in a Bytes value