tuweni / 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 - Int: the integer to encode

Return
Bytes!: the SSZ encoding in a Bytes value