Trait varuint::VarType
[−]
[src]
pub trait VarType {
fn size_hint(&self) -> usize;
fn write(&self, w: &mut Write) -> Result<usize>;
fn write_buf(&self, buf: &mut [u8]) -> usize;
}Variable length signed and unsigned integer types. Types support up to 64-bit integers (128-bit integers support will be added when Rust has the i128 and u128 types).
See [Varuint] and [Varint] for more details.