Skip to content

@temporary-escape/mod-sdk / readRetAsString

Function: readRetAsString() ​

ts
function readRetAsString(retPtr: number): string;

Defined in: abi.ts:72

Reads a string and releases a buffer previously allocated by the host.

Parameters ​

ParameterType
retPtrnumber

Returns ​

string