tuweni / org.apache.tuweni.ssz / SSZ / encodeHashList

encodeHashList

static fun encodeHashList(vararg elements: Bytes!): Bytes! (source)

Encode a list of hashes.

Parameters

elements - Bytes!: the hashes to write

Return
Bytes!: SSZ encoding in a Bytes value

static fun encodeHashList(elements: MutableList<out Bytes!>!): Bytes! (source)

Encode a list of hashes.

Parameters

elements - MutableList<out Bytes!>!: the hashes to write

Return
Bytes!: SSZ encoding in a Bytes value