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

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 ()
 
Int32List 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 Int32TypedBuffer.GetBufferSize ( )

Get the buffer size of Byte.

Returns
the size.

Reimplemented from ArrayBuffer.

◆ GetItemCount()

long Int32TypedBuffer.GetItemCount ( )

Get the item number.

Returns
the number

Reimplemented from ArrayBuffer.