rag-context-optimizer / frontend /node_modules /next /dist /server /stream-utils /uint8array-helpers.d.ts
Download frontend/node_modules/next/dist/server/stream-utils/uint8array-helpers.d.ts from netzkontrast/rag-context-optimizer: direct link, hf CLI and curl.
- Browser
- Download file 616 Bytes
-
https://huggingface.co/spaces/netzkontrast/rag-context-optimizer/resolve/main/frontend/node_modules/next/dist/server/stream-utils/uint8array-helpers.d.ts
- Command line
-
hf download hf://spaces/netzkontrast/rag-context-optimizer/frontend/node_modules/next/dist/server/stream-utils/uint8array-helpers.d.ts
-
curl -L -o uint8array-helpers.d.ts https://huggingface.co/spaces/netzkontrast/rag-context-optimizer/resolve/main/frontend/node_modules/next/dist/server/stream-utils/uint8array-helpers.d.ts
616 Bytes
| /** | |
| * Find the starting index of Uint8Array `b` within Uint8Array `a`. | |
| */ | |
| export declare function indexOfUint8Array(a: Uint8Array, b: Uint8Array): number; | |
| /** | |
| * Check if two Uint8Arrays are strictly equivalent. | |
| */ | |
| export declare function isEquivalentUint8Arrays(a: Uint8Array, b: Uint8Array): boolean; | |
| /** | |
| * Remove Uint8Array `b` from Uint8Array `a`. | |
| * | |
| * If `b` is not in `a`, `a` is returned unchanged. | |
| * | |
| * Otherwise, the function returns a new Uint8Array instance with size `a.length - b.length` | |
| */ | |
| export declare function removeFromUint8Array(a: Uint8Array, b: Uint8Array): Uint8Array<ArrayBufferLike>; | |