static fun encode(fn: Consumer<SSZWriter!>!): Bytes!
(source)
Encode values to a Bytes
value.
fn
- Consumer<SSZWriter!>!: A consumer that will be provided with a SSZWriter
that can consume values.
Return
Bytes!: The SSZ encoding in a Bytes
value.