PWLib  1.10.10
PBYTEArray Class Reference

Array of unsigned characters. More...

#include <array.h>

Inheritance diagram for PBYTEArray:
PASN_Stream PDTMFEncoder PSound

List of all members.

Public Member Functions

Construction
 PBYTEArray (PINDEX initialSize=0)
 PBYTEArray (BYTE const *buffer, PINDEX length, BOOL dynamic=TRUE)

Detailed Description

Array of unsigned characters.


Constructor & Destructor Documentation

PBYTEArray::PBYTEArray ( PINDEX  initialSize = 0)

Construct a new dynamic array of unsigned chars. The array is initialised to all zeros.

Parameters:
initialSizeInitial number of elements in the array.
PBYTEArray::PBYTEArray ( BYTE const *  buffer,
PINDEX  length,
BOOL  dynamic = TRUE 
)

Construct a new dynamic array of unsigned chars.

Parameters:
bufferPointer to an array of BYTEs.
lengthNumber of elements pointed to by #buffer#.
dynamicBuffer is copied and dynamically allocated.

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