pub struct PacketReader {
pub buf: Vec<u8>,
pub index: usize,
pub payload_length: usize,
pub finish: bool,
pub payload_count: u16,
pub packet_count: u16,
}
Read the osu!client packet: (packet id, payload)
Read packet header: (type, length)
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.