Spaces:
Sleeping
Sleeping
Download meteora/node_modules/bigint-buffer/dist/index.d.ts from Trireme/hyper_dashboard: direct link, hf CLI and curl.
- Browser
- Download file 1.07 kB
-
https://huggingface.co/spaces/Trireme/hyper_dashboard/resolve/main/meteora/node_modules/bigint-buffer/dist/index.d.ts
- Command line
-
hf download hf://spaces/Trireme/hyper_dashboard/meteora/node_modules/bigint-buffer/dist/index.d.ts
-
curl -L -o index.d.ts https://huggingface.co/spaces/Trireme/hyper_dashboard/resolve/main/meteora/node_modules/bigint-buffer/dist/index.d.ts
1.07 kB
| /// <reference types="node" /> | |
| /** | |
| * Convert a little-endian buffer into a BigInt. | |
| * @param buf The little-endian buffer to convert | |
| * @returns A BigInt with the little-endian representation of buf. | |
| */ | |
| export declare function toBigIntLE(buf: Buffer): bigint; | |
| /** | |
| * Convert a big-endian buffer into a BigInt | |
| * @param buf The big-endian buffer to convert. | |
| * @returns A BigInt with the big-endian representation of buf. | |
| */ | |
| export declare function toBigIntBE(buf: Buffer): bigint; | |
| /** | |
| * Convert a BigInt to a little-endian buffer. | |
| * @param num The BigInt to convert. | |
| * @param width The number of bytes that the resulting buffer should be. | |
| * @returns A little-endian buffer representation of num. | |
| */ | |
| export declare function toBufferLE(num: bigint, width: number): Buffer; | |
| /** | |
| * Convert a BigInt to a big-endian buffer. | |
| * @param num The BigInt to convert. | |
| * @param width The number of bytes that the resulting buffer should be. | |
| * @returns A big-endian buffer representation of num. | |
| */ | |
| export declare function toBufferBE(num: bigint, width: number): Buffer; | |