UNPKG

libpgs

Version:

Renderer for graphical subtitles (PGS) in the browser.

22 lines (21 loc) 684 B
import { BinaryReader } from "./binaryReader"; /** * A binary reader that combines multiple binary readers in one data stream. */ export declare class CombinedBinaryReader implements BinaryReader { private readonly subReaders; private $length; private $position; private subReaderIndex; constructor(subReaders: BinaryReader[] | Uint8Array[]); /** * Adding another sub-reader to the collection. * @param subReader The new sub-reader to add. */ push(subReader: BinaryReader | Uint8Array): void; get position(): number; get length(): number; get eof(): boolean; readByte(): number; readBytes(count: number): Uint8Array; }