Struct den::SegmentRef

source ·
pub struct SegmentRef {
    pub start: usize,
    pub block_count: usize,
}
Expand description

One or more successive blocks found in the common data.

Fields§

§start: usize

Start of segment with a length of Self::block_count*Signature::block_size.

§block_count: usize

The number of blocks this segment references.

Implementations§

source§

impl SegmentRef

source

pub fn start(self) -> usize

The start in the base resource this reference is pointing to.

source

pub fn block_count(self) -> usize