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