@echogarden/gnuspeech-wasm
Version:
WebAssembly port of the GnuSpeech speech synthesizer.
9 lines (8 loc) • 310 B
TypeScript
export declare function encodeUtf8(text: string): Uint8Array<ArrayBufferLike>;
export declare function decodeUtf8(encodedString: Uint8Array): string;
export declare class ChunkedUtf8Decoder {
private str;
private readonly textDecoder;
writeChunk(chunk: Uint8Array): void;
toString(): string;
}