/** @packageDocumentation * @module OrbitGT */ declare type int32 = number; /** * Class ABuffer defines a raw byte buffer. */ /** @internal */ export declare class ABuffer { /** The content of the buffer */ private _content; /** The byte view of the content of the buffer */ private _contentBytes; /** * Create a new buffer. */ constructor(size: int32); /** * Wrap an existing buffer. */ static wrap(buffer: ArrayBuffer): ABuffer; /** * Wrap an existing buffer. */ static wrapRange(buffer: ArrayBuffer, offset: int32, size: int32): ABuffer; /** * Return the content as a native buffer */ toNativeBuffer(): ArrayBuffer; /** * Get the size of the buffer. */ size(): int32; /** * Get a byte (0..255). */ get(index: int32): int32; /** * Set a byte. */ set(index: int32, value: int32): void; /** * Slice a part of the buffer. */ slice(begin: int32, end: int32): ABuffer; /** * Copy data from a source to a target buffer. */ static arrayCopy(source: ABuffer, sourceIndex: int32, target: ABuffer, targetIndex: int32, count: int32): void; } export {}; //# sourceMappingURL=ABuffer.d.ts.map