[][src]Trait binjs::io::bytes::float::ReadVarFloat

pub trait ReadVarFloat {
    fn read_maybe_varfloat(&mut self) -> Result<Option<f64>, Error>;
}

Utility for manipulating of varfloats, a somewhat optimized representation of floats.

This format is designed to help the most common floating point numbers (fairly short integers) take fewer bytes.

Instead of always fitting in 64 bits, varfloats are represented as follows:

Required methods

fn read_maybe_varfloat(&mut self) -> Result<Option<f64>, Error>

Loading content...

Implementors

impl<T> ReadVarFloat for T where
    T: Read
[src]

Loading content...