UNPKG

echogarden

Version:

An easy-to-use speech toolset. Includes tools for synthesis, recognition, alignment, speech translation, language detection, source separation and more.

11 lines (10 loc) 483 B
import { EncodeIntoResult } from "./TextEncodingsCommon.js"; export declare function encodeAscii(asciiString: string): Uint8Array<ArrayBuffer>; export declare function encodeAsciiInto(asciiString: string, resultBuffer: Uint8Array): EncodeIntoResult; export declare function decodeAscii(encodedString: Uint8Array): string; export declare class ChunkedAsciiDecoder { private str; private readonly textDecoder; writeChunk(chunk: Uint8Array): void; toString(): string; }