AsyncPacket

Engine/source/platform/async/asyncPacketStream.h

Stream packet read by an asynchronous packet stream.

More...

Public Types

Parent 

Public Attributes

Running number in stream.

bool

If true this is the last packet in the stream.

Number of items that have actually been read into the packet.

Public Functions

AsyncPacket(T * data, U32 size, bool ownMemory)

Detailed Description

Stream packet read by an asynchronous packet stream.

Public Types

typedef RawDataT< T > Parent 

Public Attributes

U32 mIndex 

Running number in stream.

bool mIsLast 

If true this is the last packet in the stream.

U32 mSizeActual 

Number of items that have actually been read into the packet.

This may be less than "size" for end-of-stream packets in non-looping streams.

note:

Extraneous space at the end of the packet will be cleared using constructArray() calls.

Public Functions

AsyncPacket()

AsyncPacket(T * data, U32 size, bool ownMemory)