static fun encodeList(fn: Consumer<RLPWriter!>!): Bytes! (source)
Encode a list of values to a Bytes value.
fn - Consumer<RLPWriter!>!: A consumer that will be provided with a RLPWriter that can consume values.
Return
Bytes!: The RLP encoding in a Bytes value.
static fun <T : Any!> encodeList(elements: MutableList<T>!, fn: BiConsumer<RLPWriter!, T>!): Bytes! (source)
Encode a list of values to a Bytes value.
elements - MutableList<T>!: A list of values to be encoded.
fn - BiConsumer<RLPWriter!, T>!: A consumer that will be provided with a RLPWriter and an element of the list.