Struct naia_shared::MessagePacketWriter
source · [−]pub struct MessagePacketWriter { /* private fields */ }Expand description
Handles writing of Message data into an outgoing packet
Implementations
Construct a new instance of MessagePacketWriter, the given buffer
will be used to read information from.
Returns whether the writer has bytes to write into the outgoing packet
Gets the bytes to write into an outgoing packet
Get the number of bytes which is ready to be written into an outgoing packet
Writes an Message into the Writer’s internal buffer, which will eventually be put into the outgoing packet