Uncompressed

Group of packets.

Members

Functions

add
typeof(this) add(ubyte[] packet)
typeof(this) add(T packet)

Adds a serialised packet to the array of packets.

Mixins

__anonymous
mixin IO!(id, packets)
Undocumented in source.

Static functions

fromPackets
Uncompressed fromPackets(ubyte[][] packets)

Creates a packet and start to add packets.

fromPackets
Uncompressed fromPackets(T[] packets)

Creates an Uncompress packet from a list of packets of the same type.

Variables

ID
enum ubyte ID;
Undocumented in source.
id
ubyte id;

If not 0 the same packet in the next field has the same id. Otherwise the packet id is the first byte of the packet.

packets
ubyte[][] packets;

List of the encoded packets. With the ID if the id field is 0, without the ID otherwise.

Meta