Struct rlp::PayloadInfo [−][src]
Stores basic information about item
Fields
header_len: usize
Header length in bytes
value_len: usize
Value length in bytes
Methods
impl PayloadInfo
[src]
impl PayloadInfo
pub fn total(&self) -> usize
[src]
pub fn total(&self) -> usize
Total size of the RLP.
pub fn from(header_bytes: &[u8]) -> Result<PayloadInfo, DecoderError>
[src]
pub fn from(header_bytes: &[u8]) -> Result<PayloadInfo, DecoderError>
Create a new object from the given bytes RLP. The bytes
Auto Trait Implementations
impl Send for PayloadInfo
impl Send for PayloadInfo
impl Sync for PayloadInfo
impl Sync for PayloadInfo