mirror of
https://github.com/zoriya/libpgs-js.git
synced 2026-08-27 00:00:51 +00:00
Not for upstream: this branch only exists so a consumer can depend on the fork straight from git while the `ready` promise waits on a release.
15 lines
403 B
TypeScript
15 lines
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;
|
|
}
|