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

fromBytes

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

Deserialize a block from RLP encoded bytes.

Parameters

encoded - The RLP encoded block.

Exceptions

RLPException - If there is an error decoding the block.

Return
The deserialized block.