[][src]Trait cborian::skip::Skip

pub trait Skip {
    pub fn skip(&mut self, n: u64) -> Result<()>;
}

Type which supports skipping a number of bytes.

Similar in spirit to std::io::Seek but only allows uni-directional movement.

Required methods

pub fn skip(&mut self, n: u64) -> Result<()>[src]

Skip over n consecutive bytes.

Loading content...

Implementors

impl<A: Seek> Skip for A[src]

pub fn skip(&mut self, n: u64) -> Result<()>[src]

n must be in range [0, i64::MAX].

Loading content...