@echogarden/wave-codec
Version:
A fully-featured WAVE format encoder and decoder. Written in pure TypeScript.
5 lines (4 loc) • 354 B
TypeScript
export declare function reverseByteGroupsIfBigEndian(bytes: Uint8Array, groupSize: number): Uint8Array;
export declare function reverseByteGroups(bytes: Uint8Array, groupSize: number): Uint8Array<ArrayBuffer>;
export declare function reverseByteGroupsInPlace(bytes: Uint8Array, groupSize: number): void;
export declare const isLittleEndianArch: boolean;