static fun <T : Any!> decode(source: Bytes!, fn: Function<SSZReader!, T>!): T (source)
Read and decode SSZ from a Bytes value.
source - Bytes!: the SSZ encoded bytes
fn - Function<SSZReader!, T>!: a function that will be provided a SSZReader
- the result type of the reading function
Return
T: the result from the reading function