Struct naia_shared::MessagePacketWriter[][src]

pub struct MessagePacketWriter { /* fields omitted */ }
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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.