@jhanssen/cue-parser
Version:
A simple js library to parse cue sheet
11 lines (10 loc) • 522 B
TypeScript
import { ICueSheet } from "./types";
declare type TypedArray = Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array;
/**
* Parse function
* @param data Cue file data, either in string or ArrayBuffer format
* @param encoding Encoding of data if passed as an ArrayBuffer or TypedArray type
* @return CUE-sheet information object
*/
export declare function parse(data: string | ArrayBuffer | TypedArray, encoding?: string): ICueSheet;
export {};