@temporary-escape/mod-sdk / StrRet
Class: StrRet
Defined in: abi.ts:52
A bare (ptr, len) pair written by the host into a canonical-ABI return area for a non-optional string/list. Absence is not represented here — use OptionStrRet for an option<T>.
Constructors
Constructor
ts
new StrRet(): StrRet;Returns
StrRet
Properties
| Property | Type | Default value | Defined in |
|---|---|---|---|
len | number | 0 | abi.ts:54 |
ptr | number | 0 | abi.ts:53 |
