Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

sobj_buffer Struct Reference
[Byte Buffers]

#include <sobject.h>


Detailed Description

Structure representing a variable byte array.

This structure is used as a parameter type for functions accepting and/or returning byte array data.

Buffer objects are not synchronized ans should not be shared by different threads.


Data Fields

size_t so_length
 The length of the byte array.
size_t so_size
 The allocated size of the byte array.
unsigned char * so_buffer
 Pointer to the byte array data.
unsigned char so_static [SOBJ_BUFFER_SIZE_STATIC]
 The static buffer.


Field Documentation

unsigned char* sobj_buffer::so_buffer
 

Pointer to the byte array data.

This points either to the static buffer sobj_buffer::so_static or to a heap allocated buffer.

size_t sobj_buffer::so_length
 

The length of the byte array.

size_t sobj_buffer::so_size
 

The allocated size of the byte array.

unsigned char sobj_buffer::so_static[SOBJ_BUFFER_SIZE_STATIC]
 

The static buffer.


The documentation for this struct was generated from the following file:
Generated on Sat Jul 23 16:06:22 2005 for sobject by  doxygen 1.3.9.1