AnyCAD Rapid API 2024
Help you to create a better world!
|
Public 成员函数 | |
Uint8List | GetData () |
void | Reserve (long count) |
void | Set (long idx, short val) |
short | Get (long idx) |
short | GetItem (long idx) |
void | Append (short val) |
void | AppendItem1 (short val) |
void | Append (short a, short b) |
void | AppendItem2 (short a, short b) |
void | Append (short a, short b, short c) |
void | AppendItem3 (short a, short b, short c) |
void | Append (short a, short b, short c, short d) |
void | AppendItem4 (short a, short b, short c, short d) |
long | GetBufferSize () |
long | GetItemCount () |
![]() | |
ClassId | GetClassId () |
EnumDataType | GetDataType () |
boolean | Save (String fleName) |
![]() | |
boolean | IsEqual (AObject other) |
额外继承的成员函数 | |
![]() | |
static ClassId | GetStaticClassId () |
static ArrayBuffer | Cast (AObject obj) |
<> 模板辅助类.
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 | 值 |