libpgs
Version:
Renderer for graphical subtitles (PGS) in the browser.
15 lines (14 loc) • 403 B
TypeScript
import { BinaryReader } from "./binaryReader";
/**
* A binary reader based on a {@link Uint8Array}.
*/
export declare class ArrayBinaryReader implements BinaryReader {
private readonly array;
private $position;
constructor(array: Uint8Array);
get position(): number;
get length(): number;
get eof(): boolean;
readByte(): number;
readBytes(count: number): Uint8Array;
}