Trait azalea_buf::McBufReadable
source · pub trait McBufReadablewhere
Self: Sized,{
// Required method
fn read_from(buf: &mut Cursor<&[u8]>) -> Result<Self, BufReadError>;
}
Expand description
Read a single varint from the reader and return the value, along with the number of bytes read
Required Methods§
Object Safety§
This trait is not object safe.