pub trait UnPackTwInt: Read {
// Required method
fn unpack(&mut self) -> Result<i32>;
}Expand description
Trait implemented by buffers holding a teeworlds variable int.
This trait is more of a convenience to allow writing let data = buff.unpack()?;