rlp / org.apache.tuweni.rlp / RLP / encodeInt

encodeInt

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

Encode a integer to a Bytes value.

Parameters

value - The integer to encode.

Return
The RLP encoding in a Bytes value.