tuweni / org.apache.tuweni.eth / Block / fromBytes

fromBytes

static fun fromBytes(encoded: Bytes!): Block! (source)

Deserialize a block from RLP encoded bytes.

Parameters

encoded - Bytes!: The RLP encoded block.

Exceptions

RLPException - If there is an error decoding the block.

Return
Block!: The deserialized block.