AnyCAD Rapid API 2023
Help you to create a better world!
Uint8TypedBuffer Class Reference
Inheritance diagram for Uint8TypedBuffer:
ArrayBuffer Uint8Buffer

Public Member Functions

void Reserve (long count)
 
void Set (long idx, short val)
 
short Get (long idx)
 
void Append (short val)
 
void Append (short a, short b)
 
void Append (short a, short b, short c)
 
void Append (short a, short b, short c, short d)
 
long GetBufferSize ()
 
long GetItemCount ()
 
Uint8List GetData ()
 
- Public Member Functions inherited from ArrayBuffer
EnumDataType GetDataType ()
 
boolean Save (String fleName)
 

Detailed Description

Template class for array buffer.

Member Function Documentation

◆ GetBufferSize()

long Uint8TypedBuffer.GetBufferSize ( )

Get the buffer size of Byte.

Returns
the size.

Reimplemented from ArrayBuffer.

◆ GetItemCount()

long Uint8TypedBuffer.GetItemCount ( )

Get the item number.

Returns
the number

Reimplemented from ArrayBuffer.