AnyCAD Rapid API 2024
Help you to create a better world!
载入中...
搜索中...
未找到
ArrayBuffer类 参考
类 ArrayBuffer 继承关系图:
AObject CharTypedBuffer Float32TypedBuffer Int32TypedBuffer RawBuffer Uint16TypedBuffer Uint32TypedBuffer Uint8TypedBuffer CharBuffer Float32Buffer Int32Buffer Uint16Buffer Uint32Buffer Uint8Buffer

Public 成员函数

ClassId GetClassId ()
 
long GetBufferSize ()
 
long GetItemCount ()
 
EnumDataType GetDataType ()
 
boolean Save (String fleName)
 
- Public 成员函数 继承自 AObject
boolean IsEqual (AObject other)
 

静态 Public 成员函数

static ClassId GetStaticClassId ()
 
static ArrayBuffer Cast (AObject obj)
 

详细描述

<> 表示一块连续的内存空间。

成员函数说明

◆ GetBufferSize()

long ArrayBuffer.GetBufferSize ( )

◆ GetClassId()

ClassId ArrayBuffer.GetClassId ( )

获取对象的类型信息

返回
类信息

重载 AObject .

CharBuffer, Float32Buffer, Int32Buffer, RawBuffer, Uint16Buffer, Uint32Buffer , 以及 Uint8Buffer 重载.

◆ GetDataType()

EnumDataType ArrayBuffer.GetDataType ( )

获取数据类型.

返回
the type.

CharBuffer, Float32Buffer, Int32Buffer, RawBuffer, Uint16Buffer, Uint32Buffer , 以及 Uint8Buffer 重载.

◆ GetItemCount()

long ArrayBuffer.GetItemCount ( )

获取元素的个数.

返回
the number

CharTypedBuffer, Float32TypedBuffer, Int32TypedBuffer, RawBuffer, Uint16TypedBuffer, Uint32TypedBuffer , 以及 Uint8TypedBuffer 重载.

◆ GetStaticClassId()

static ClassId ArrayBuffer.GetStaticClassId ( )
static

获取类信息

返回

重载 AObject .

CharBuffer, Float32Buffer, Int32Buffer, RawBuffer, Uint16Buffer, Uint32Buffer , 以及 Uint8Buffer 重载.

◆ Save()

boolean ArrayBuffer.Save ( String fleName)

保存为二进制文件

参数
fleNamethe file name.
返回
true if done.