mirror of
https://github.com/JonasunderscoreJones/api-worker.git
synced 2025-10-24 10:49:18 +02:00
Initial commit (by create-cloudflare CLI)
This commit is contained in:
commit
58a42872a0
1745 changed files with 741893 additions and 0 deletions
18
node_modules/capnp-ts/src/serialization/arena/single-segment-arena.d.ts
generated
vendored
Normal file
18
node_modules/capnp-ts/src/serialization/arena/single-segment-arena.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
/**
|
||||
* @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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue