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