AnyCAD Rapid API 2023
Help you to create a better world!
|
Public 成员函数 | |
Uint8List | GetData () |
void | Reserve (long count) |
void | Set (long idx, short val) |
short | Get (long idx) |
void | Append (short val) |
void | Append (short a, short b) |
void | Append (short a, short b, short c) |
void | Append (short a, short b, short c, short d) |
long | GetBufferSize () |
long | GetItemCount () |
Public 成员函数 继承自 ArrayBuffer | |
ClassId | GetClassId () |
long | GetBufferSize () |
long | GetItemCount () |
EnumDataType | GetDataType () |
boolean | Save (String fleName) |
Public 成员函数 继承自 AObject | |
ClassId | GetClassId () |
boolean | IsEqual (AObject other) |
额外继承的成员函数 | |
静态 Public 成员函数 继承自 ArrayBuffer | |
static ClassId | GetStaticClassId () |
static ArrayBuffer | Cast (AObject obj) |
static ClassId | GetStaticClassId () |
<> 模板辅助类.
void Uint8TypedBuffer.Append | ( | short | a, |
short | b | ||
) |
在尾部添加两个值
a | 第一个 |
b | 第二个 |
void Uint8TypedBuffer.Append | ( | short | a, |
short | b, | ||
short | c | ||
) |
在尾部添加三个值
a | 第1个 |
b | 第2个 |
c | 第3个 |
void Uint8TypedBuffer.Append | ( | short | a, |
short | b, | ||
short | c, | ||
short | d | ||
) |
在尾部添加四个值
a | 第1个 |
b | 第2个 |
c | 第3个 |
d | 第4个 |
void Uint8TypedBuffer.Append | ( | short | val | ) |
在尾部添加元素
val | 值 |
short Uint8TypedBuffer.Get | ( | long | idx | ) |
获取元素的值
idx | 索引 |
long Uint8TypedBuffer.GetBufferSize | ( | ) |
long Uint8TypedBuffer.GetItemCount | ( | ) |
void Uint8TypedBuffer.Reserve | ( | long | count | ) |
保留内存大小,避免重复分配
count | 元素的个数 |
void Uint8TypedBuffer.Set | ( | long | idx, |
short | val | ||
) |
设置元素
idx | 索引 |
val | 值 |