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

Public Member Functions

void Reserve (long count)
 
void Set (long idx, int val)
 
int Get (long idx)
 
void Append (int val)
 
void Append (int a, int b)
 
void Append (int a, int b, int c)
 
void Append (int a, int b, int c, int d)
 
long GetBufferSize ()
 
long GetItemCount ()
 
Uint16List 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 Uint16TypedBuffer.GetBufferSize ( )

Get the buffer size of Byte.

Returns
the size.

Reimplemented from ArrayBuffer.

◆ GetItemCount()

long Uint16TypedBuffer.GetItemCount ( )

Get the item number.

Returns
the number

Reimplemented from ArrayBuffer.