Skip to content

@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 ​

ParameterType
valuestring[]

Returns ​

AbiStringList

Properties ​

PropertyModifierTypeDefined in
lenreadonlynumberabi.ts:189
ptrreadonlynumberabi.ts:188