Initial commit (by create-cloudflare CLI)

This commit is contained in:
Jonas_Jones 2023-09-12 00:20:38 +02:00
parent 8cb86120f1
commit fff961078a
1777 changed files with 1011798 additions and 0 deletions

View file

@ -0,0 +1,17 @@
import { BaseHashReader } from '../base/hash-reader';
import { BrowserEncoding } from './encoding';
import { Hash } from './hash';
/**
* A hash reader for WebAssembly targets.
*/
export declare class BrowserHashReader extends BaseHashReader<Hash> {
/**
* Converts first 32 bytes of the hash to a string with the given encoding.
*/
toString(encoding?: BrowserEncoding): string;
/**
* Converts first 32 bytes of the hash to an array.
*/
toArray(): Hash;
protected alloc(bytes: number): Hash;
}