mirror of
https://github.com/luxfi/lux-sign.git
synced 2026-10-30 16:20:38 +00:00
11 lines
441 B
TypeScript
11 lines
441 B
TypeScript
export declare function convertToString(ptr: number, len: number, { freeptr }?: {
|
|
freeptr?: boolean;
|
|
}): string;
|
|
export declare function convertFromString(str?: string, { nullTerminated, ptr }?: {
|
|
nullTerminated?: boolean;
|
|
ptr?: number;
|
|
}): Uint8Array;
|
|
export declare function allocateMemByWasm(size: number): Uint8Array;
|
|
export declare function initAsync(hf?: string): Promise<any>;
|
|
export declare function getWasmReady(): any;
|