AnyCAD Rapid API 2023
Help you to create a better world!
ArrayBuffer Class Reference
Inheritance diagram for ArrayBuffer:
Float32TypedBuffer Int32TypedBuffer RawBuffer Uint16TypedBuffer Uint32TypedBuffer Uint8TypedBuffer Float32Buffer Int32Buffer Uint16Buffer Uint32Buffer Uint8Buffer

Public Member Functions

long GetBufferSize ()
 
long GetItemCount ()
 
EnumDataType GetDataType ()
 
boolean Save (String fleName)
 

Detailed Description

<> The basic class for buffer classes.

Member Function Documentation

◆ GetBufferSize()

long ArrayBuffer.GetBufferSize ( )

Get the buffer size of Byte.

Returns
the size.

Reimplemented in Float32TypedBuffer, Int32TypedBuffer, RawBuffer, Uint16TypedBuffer, Uint32TypedBuffer, and Uint8TypedBuffer.

◆ GetDataType()

EnumDataType ArrayBuffer.GetDataType ( )

Get the data type.

Returns
the type.

Reimplemented in Float32Buffer, Int32Buffer, RawBuffer, Uint16Buffer, Uint32Buffer, and Uint8Buffer.

◆ GetItemCount()

long ArrayBuffer.GetItemCount ( )

Get the item number.

Returns
the number

Reimplemented in Float32TypedBuffer, Int32TypedBuffer, RawBuffer, Uint16TypedBuffer, Uint32TypedBuffer, and Uint8TypedBuffer.

◆ Save()

boolean ArrayBuffer.Save ( String  fleName)

Save the buffer to binary file

Parameters
fleNamethe file name.
Returns
true if done.