UNPKG

genomic-reader

Version:

A Typescript library for reading BigWig, BigBed, 2bit, and Bam files. Capable of streaming. For use in the browser or on Node.js.

21 lines (20 loc) 567 B
export declare class BinaryParser { private readonly littleEndian; private view; position: number; private length; constructor(data: ArrayBuffer, littleEndian?: boolean); remLength(): number; private getValue; getByte(): number; getShort(): number; getUShort(): number; getInt(): number; getUInt(): number; getFloat(): number; getDouble(): number; getLong(): number; getString(len?: number): string; getFixedLengthString(len: number): string; getFixedLengthTrimmedString(len: number): string; }