abstract fun writeList(fn: Consumer<RLPWriter!>!): Unit
(source)
Write a list of values.
fn
- Consumer<RLPWriter!>!: A consumer that will be provided with a RLPWriter
that can consume values.
open fun <T : Any!> writeList(elements: MutableList<T>!, elementWriter: BiConsumer<RLPWriter!, T>!): Unit
(source)
Write a list of values, sending each value to a function to be interpreted.
elements
- MutableList<T>!: the list of elements to write
elementWriter
- BiConsumer<RLPWriter!, T>!: the function called for each element in the list