Trait WriteVarNum
binjs::io::bytes::varnum
pub trait WriteVarNum { fn write_maybe_varnum(&mut self, value: Option<u32>) -> Result<usize, Error>; fn write_varnum(&mut self, num: u32) -> Result<usize, Error>; fn write_signed_varnum(&mut self, num: i32) -> Result<usize, Error>; }
fn write_maybe_varnum(&mut self, value: Option<u32>) -> Result<usize, Error>
fn write_varnum(&mut self, num: u32) -> Result<usize, Error>
fn write_signed_varnum(&mut self, num: i32) -> Result<usize, Error>
impl<T> WriteVarNum for T where T: Write,
fn write_varnum(&mut self, value: u32) -> Result<usize, Error>
fn write_signed_varnum(&mut self, value: i32) -> Result<usize, Error>