Download worker/node_modules/blake3-wasm/dist/node-native/native.d.ts from luckyrobots/cv_old: direct link, hf CLI and curl.
- Browser
- Download file 508 Bytes
-
https://huggingface.co/datasets/luckyrobots/cv_old/resolve/main/worker/node_modules/blake3-wasm/dist/node-native/native.d.ts
- Command line
-
hf download hf://datasets/luckyrobots/cv_old/worker/node_modules/blake3-wasm/dist/node-native/native.d.ts
-
curl -L -o native.d.ts https://huggingface.co/datasets/luckyrobots/cv_old/resolve/main/worker/node_modules/blake3-wasm/dist/node-native/native.d.ts
508 Bytes
| /// <reference types="node" /> | |
| import { IInternalHash } from '../base/index'; | |
| export interface INativeReader { | |
| free?(): void; | |
| fill(target: Uint8Array): void; | |
| set_position(position: Buffer): void; | |
| } | |
| export interface INativeHash extends IInternalHash<INativeReader> { | |
| new (hashKey?: Buffer, context?: string): INativeHash; | |
| } | |
| export interface INativeModule { | |
| Hasher: INativeHash; | |
| hash(input: Buffer, length: number): Buffer; | |
| } | |
| declare const native: INativeModule; | |
| export default native; | |