pub struct PacketReader<'s> { /* private fields */ }
Expand description
Contains an underlying byte payload, and provides a Cursor into that payload
Construct a new instance of PacketReader, the given buffer will be
used to read information from.
Returns whether there are still more bytes to be read from the payload
Read a single byte from the payload
Read a u16 from the payload
Get a reference to the Cursor
Get a reference to the underlying payload byte buffer
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,