libgig
3.3.0.svn3
|
Pointer address and size of a buffer. More...
#include <SF.h>
Public Member Functions | |
buffer_t () | |
Public Attributes | |
void * | pStart |
Points to the beginning of the buffer. More... | |
unsigned long | Size |
Size of the actual data in the buffer in bytes. More... | |
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. :) More... | |
|
inline |
Definition at line 289 of file SF.h.
References NullExtensionSize, pStart, and Size.
unsigned long sf2::Sample::buffer_t::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. :)
Definition at line 288 of file SF.h.
Referenced by buffer_t(), sf2::Sample::GetCache(), sf2::Sample::LoadSampleDataWithNullSamplesExtension(), sf2::Sample::ReleaseSampleData(), and sf2::Sample::Sample().
void* sf2::Sample::buffer_t::pStart |
Points to the beginning of the buffer.
Definition at line 286 of file SF.h.
Referenced by buffer_t(), sf2::Sample::GetCache(), sf2::Sample::LoadSampleDataWithNullSamplesExtension(), sf2::Sample::ReleaseSampleData(), and sf2::Sample::Sample().
unsigned long sf2::Sample::buffer_t::Size |
Size of the actual data in the buffer in bytes.
Definition at line 287 of file SF.h.
Referenced by buffer_t(), sf2::Sample::GetCache(), sf2::Sample::LoadSampleDataWithNullSamplesExtension(), sf2::Sample::ReleaseSampleData(), and sf2::Sample::Sample().