SemysDataBuffer

01
typedef struct tagSemysDataBuffer
{
  struct tagSemysDataBuffer *mpNext;
  void *mpData;
  uint32 mSize;
} SemysDataBuffer;
02 Members:
  • mpNext: Reference to the next entry of the list or 0 (last entry).
  • mpData: Pointer to a data buffer.
  • mSize: Size, in bytes, of mpData.
03 The mpNext member is used to create a single linked list. If it is 0, the actual buffer structure is the last one of the list.
04 Creating a list of SemysDataBuffer structures minimizes the use of reallocation and memory copy functions if memory has to be added at the front or at the back of an existing buffer (Building of a frame).
05 Reference: SemysTypes.h
Implementation: Semys Library
See Also: Transporter Sub-System, SemysCreateDataBuffer()

Goto: Main Page; This page is part of the Semys software documentation. See About: Documentation for details.