Struct naia_socket_shared::PacketReader
source · [−]pub struct PacketReader<'s> { /* private fields */ }
Expand description
Contains an underlying byte payload, and provides a Cursor into that payload
Implementations
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