File Geodatabase API
FileGDBAPI::ByteArray Class Reference

A utility class for working with database BLOBs. More...

Public Member Functions

bool Allocate (size_t length)
 Allocates a byte array of the specified size. More...
 
Constructors and destructors
 ByteArray (size_t length=0)
 The class constructor.
 
 ~ByteArray ()
 The class destructor.
 

Public Attributes

byte * byteArray
 The underlying byte array.
 
size_t allocatedLength
 The capacity of the byte array.
 
size_t inUseLength
 The number of bytes being used in the array.
 

Detailed Description

A utility class for working with database BLOBs.

Member Function Documentation

bool FileGDBAPI::ByteArray::Allocate ( size_t  length)

Allocates a byte array of the specified size.

Parameters
[in]lengthThe number of bytes to allocate.
Returns
bool Indicates success.