@temporary-escape/mod-sdk / AbiStringList
Class: AbiStringList
Defined in: abi.ts:187
A guest list<string> laid out as the canonical-ABI in-memory representation: one 8-byte element per string, each a UTF-8 (ptr: u32, len: u32) pair.
ptr/len are the list's (pointer, element count) pair, borrowed by a host import for the duration of the call. The element buffers and the element array are retained so they stay alive while the host reads them.
Constructors
Constructor
ts
new AbiStringList(value: string[]): AbiStringList;Defined in: abi.ts:195
Parameters
| Parameter | Type |
|---|---|
value | string[] |
Returns
AbiStringList
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
len | readonly | number | abi.ts:189 |
ptr | readonly | number | abi.ts:188 |
