Files
SnowLuma/.pnpm-store/v11/files/05/a0af3c322d3672ad6caf77cac6e572953223b150b81fab486f84711f7741a03539a12b36861005e7048648e52cba124f92d75486e80c83875749f7123a579c
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Skipped
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

20 lines
890 B
Plaintext

//#region src/utils/buffer.d.ts
/**
* @module
* Buffer utility.
*/
export declare const equal: (a: ArrayBuffer, b: ArrayBuffer) => boolean;
type StringHashFunction = (input: string) => string | null | Promise<string | null>;
type TimingSafeEqual = {
(a: string, b: string, hashFunction?: StringHashFunction): Promise<boolean>;
/**
* @deprecated object and boolean signatures that take boolean as first and second arguments, and functions with signatures that take non-string arguments have been deprecated
*/
(a: string | object | boolean, b: string | object | boolean, hashFunction?: Function): Promise<boolean>;
};
export declare const timingSafeEqual: TimingSafeEqual;
export declare const bufferToString: (buffer: ArrayBuffer) => string;
export declare const bufferToFormData: (arrayBuffer: ArrayBuffer, contentType: string) => Promise<FormData>;
//#endregion
export {};