gig::buffer_t Struct Reference

Pointer address and size of a buffer. More...

#include <gig.h>

List of all members.

Public Member Functions

 buffer_t ()

Public Attributes

void * pStart
 Points to the beginning of the buffer.
unsigned long Size
 Size of the actual data in the buffer in bytes.
unsigned long NullExtensionSize
 The buffer might be bigger than the actual data, if that's the case that unused space at the end of the buffer is filled with NULLs and NullExtensionSize reflects that unused buffer space in bytes. Those NULL extensions are mandatory for differential algorithms that have to take the following data words into account, thus have to access past the buffer's boundary. If you don't know what I'm talking about, just forget this variable. :).


Detailed Description

Pointer address and size of a buffer.

Definition at line 71 of file gig.h.


Constructor & Destructor Documentation

gig::buffer_t::buffer_t (  )  [inline]

Definition at line 75 of file gig.h.

References NullExtensionSize, pStart, and Size.


Member Data Documentation

The buffer might be bigger than the actual data, if that's the case that unused space at the end of the buffer is filled with NULLs and NullExtensionSize reflects that unused buffer space in bytes. Those NULL extensions are mandatory for differential algorithms that have to take the following data words into account, thus have to access past the buffer's boundary. If you don't know what I'm talking about, just forget this variable. :).

Definition at line 74 of file gig.h.

Referenced by buffer_t(), gig::Sample::CreateDecompressionBuffer(), gig::Sample::DestroyDecompressionBuffer(), gig::Sample::GetCache(), gig::Sample::LoadSampleDataWithNullSamplesExtension(), gig::Sample::ReleaseSampleData(), and gig::Sample::Sample().

unsigned long gig::buffer_t::Size


The documentation for this struct was generated from the following file:

doxygen