Skip to main content

Module msg_base

Module msg_base 

Source
Expand description

The payload buffer of a client message, plus a small slice reader.

  • MsgBase owns its bytes and has a read/write cursor.
  • Reader is a borrowing cursor over a slice. The generated SteamSerializable types read through it.

Structs§

MsgBase
The payload of a client message: a byte buffer with a cursor.
Reader
A forward-only reader over a byte slice. Integers are little endian.

Enums§

SeekOrigin
The reference point for MsgBase::seek_from.