import { BinaryBufferConstants, BinaryBufferData, BinaryBufferFormat } from "./BinaryBuffer.types"; import { ConvertBinaryBuffer, DetermineSubByteArrayForBinaryBuffer, GetBinaryBufferIndexLength, GetConvertedBinaryBufferSize } from "./Functions/BinaryBufferConvert"; import { BinaryBufferFromJSON, BinaryBufferToJSON } from "./Functions/BinaryBufferJSON"; import { ReadBufferAtIndex, SetBufferAtIndex } from "./Functions/BinaryBufferRead"; import BinaryBufferToTypedArray from "./Functions/BinaryBufferToTypedArray"; export interface BinaryBuffer extends BinaryBufferData { } export declare class BinaryBuffer { static Constants: typeof BinaryBufferConstants; static Compare(buffer1: BinaryBufferData, buffer2: BinaryBufferData): boolean; static ToJSON: typeof BinaryBufferToJSON; static FromJSON: typeof BinaryBufferFromJSON; static ToTypedArray: typeof BinaryBufferToTypedArray; static ReadBufferAtIndex: typeof ReadBufferAtIndex; static SetBufferAtIndex: typeof SetBufferAtIndex; static DetermineSubByteArray: typeof DetermineSubByteArrayForBinaryBuffer; static GetConvertedBufferSize: typeof GetConvertedBinaryBufferSize; static GetIndexLength: typeof GetBinaryBufferIndexLength; static Convert: typeof ConvertBinaryBuffer; static Create(data: Partial): BinaryBufferData; bufferView: Uint8Array | Uint16Array; constructor(data: BinaryBufferData); isValue: boolean; getLength(): number; getValue(index: number): number; toJSON(): { buffer: number | ArrayBuffer | SharedArrayBuffer; length: number; type: BinaryBufferFormat; }; }