Initial commit with Advoware proxy

This commit is contained in:
root
2025-10-19 14:57:07 +00:00
commit 273aa8b549
45771 changed files with 5534555 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
/*!
* Copyright 2016 The ANTLR Project. All rights reserved.
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
*/
/**
* Wrapper for `Uint8Array` / `Uint16Array` / `Int32Array`.
*/
export declare class CodePointBuffer {
private readonly buffer;
private _position;
private _size;
constructor(buffer: Uint8Array | Uint16Array | Int32Array, size: number);
static withArray(buffer: Uint8Array | Uint16Array | Int32Array): CodePointBuffer;
get position(): number;
set position(newPosition: number);
get remaining(): number;
get(offset: number): number;
array(): Uint8Array | Uint16Array | Int32Array;
static builder(initialBufferSize: number): CodePointBuffer.Builder;
}
export declare namespace CodePointBuffer {
class Builder {
private type;
private buffer;
private prevHighSurrogate;
private position;
constructor(initialBufferSize: number);
build(): CodePointBuffer;
private static roundUpToNextPowerOfTwo;
ensureRemaining(remainingNeeded: number): void;
append(utf16In: Uint16Array): void;
private appendArray;
private appendArrayByte;
private appendArrayChar;
private appendArrayInt;
private byteToCharBuffer;
private byteToIntBuffer;
private charToIntBuffer;
}
}