Struct rlp::PayloadInfo[][src]

pub struct PayloadInfo {
    pub header_len: usize,
    pub value_len: usize,
}

Stores basic information about item

Fields

Header length in bytes

Value length in bytes

Methods

impl PayloadInfo
[src]

Total size of the RLP.

Create a new object from the given bytes RLP. The bytes

Auto Trait Implementations

impl Send for PayloadInfo

impl Sync for PayloadInfo