ArcisType
Constructors
Constructor
new ArcisType(
name,fields):ArcisType
Parameters
| Parameter | Type |
|---|---|
name | string |
fields | ArcisValueField[] |
Returns
ArcisType
Properties
| Property | Type |
|---|---|
fields | ArcisValueField[] |
name | string |
Methods
pack()
pack(
rawData):bigint[]
Parameters
| Parameter | Type |
|---|---|
rawData | unknown[] |
Returns
bigint[]
unpack()
unpack(
packed): (number|bigint|boolean|Uint8Array<ArrayBufferLike>)[]
Parameters
| Parameter | Type |
|---|---|
packed | bigint[] |
Returns
(number | bigint | boolean | Uint8Array<ArrayBufferLike>)[]
fromJson()
staticfromJson(name,json):ArcisType
Parameters
| Parameter | Type |
|---|---|
name | string |
json | unknown |
Returns
ArcisType