mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 15:12:12 +00:00
13 lines
313 B
TypeScript
13 lines
313 B
TypeScript
/// <reference path="../assembly.d.ts" />
|
|
|
|
/** A C-compatible string class. */
|
|
declare class CString {
|
|
readonly [key: number]: u8;
|
|
|
|
/** Constructs a new C-String from a standard string. */
|
|
constructor(string: string);
|
|
|
|
/** Disposes this instance and the memory associated with it. */
|
|
dispose(): void;
|
|
}
|