AnyCAD Rapid SDK  2021
The Rapid CAD SDK
Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
ArrayBuffer Class Reference
Inheritance diagram for ArrayBuffer:
Float32TypedBuffer RawBuffer Uint16TypedBuffer Uint32TypedBuffer Uint8TypedBuffer Float32Buffer Uint16Buffer Uint32Buffer Uint8Buffer

Public Member Functions

synchronized void delete ()
 
long GetBufferSize ()
 
long GetItemCount ()
 
EnumDataType GetDataType ()
 
boolean Save (String fleName)
 

Protected Member Functions

 ArrayBuffer (long cPtr, boolean cMemoryOwn)
 
void swigSetCMemOwn (boolean own)
 
void finalize ()
 

Static Protected Member Functions

static long getCPtr (ArrayBuffer obj)
 

Detailed Description

The basic class for buffer classes.

Member Function Documentation

long ArrayBuffer.GetBufferSize ( )

Get the buffer size of Byte.

Returns
the size.
EnumDataType ArrayBuffer.GetDataType ( )

Get the data type.

Returns
the type.
long ArrayBuffer.GetItemCount ( )

Get the item number.

Returns
the number
boolean ArrayBuffer.Save ( String  fleName)

Save the buffer to binary file

Parameters
fleNamethe file name.
Returns
true if done.