@echogarden/wave-codec
Version:
A fully-featured WAVE format encoder and decoder. Written in pure TypeScript.
9 lines (8 loc) • 309 B
TypeScript
export declare function encodeAscii(asciiString: string): Uint8Array<ArrayBuffer>;
export declare function decodeAscii(buffer: Uint8Array): string;
export declare class ChunkedAsciiDecoder {
private str;
private readonly textDecoder;
writeChunk(chunk: Uint8Array): void;
toString(): string;
}