Struct scroll::Sleb128
[−]
[src]
pub struct Sleb128 { /* fields omitted */ }
An signed leb128 integer
Methods
impl Sleb128
[src]
fn size(&self) -> usize
[src]
Return how many bytes this Sleb128 takes up in memory
fn read(bytes: &[u8], offset: &mut usize) -> Result<i64>
[src]
Read a variable length i64 from bytes
at offset
Trait Implementations
impl Debug for Sleb128
[src]
impl PartialEq for Sleb128
[src]
fn eq(&self, __arg_0: &Sleb128) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Sleb128) -> bool
[src]
This method tests for !=
.
impl Copy for Sleb128
[src]
impl Clone for Sleb128
[src]
fn clone(&self) -> Sleb128
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more