Spaces:
Configuration error
Configuration error
File size: 760 Bytes
5641073 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
/**
* @author jdiaz5513
*/
import { Segment } from "../segment";
import { ArenaAllocationResult } from "./arena-allocation-result";
import { ArenaKind } from "./arena-kind";
export declare class SingleSegmentArena {
static readonly allocate: typeof allocate;
static readonly getBuffer: typeof getBuffer;
static readonly getNumSegments: typeof getNumSegments;
buffer: ArrayBuffer;
readonly kind = ArenaKind.SINGLE_SEGMENT;
constructor(buffer?: ArrayBuffer);
toString(): string;
}
export declare function allocate(minSize: number, segments: Segment[], s: SingleSegmentArena): ArenaAllocationResult;
export declare function getBuffer(id: number, s: SingleSegmentArena): ArrayBuffer;
export declare function getNumSegments(): number;
|