generated from napi-rs/package-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.d.ts
14 lines (14 loc) · 719 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* auto-generated by NAPI-RS */
/* eslint-disable */
export declare function compress(
data: string | Buffer,
dict?: string | Buffer | undefined | null,
): Promise<Buffer> | Promise<Buffer>
export declare function compressFrame(data: string | Buffer): Promise<Buffer>
export declare function compressSync(data: string | Buffer, dict?: string | Buffer | undefined | null): Buffer
export declare function decompressFrame(data: string | Buffer): Promise<Buffer>
export declare function uncompress(
data: string | Buffer,
dict?: string | Buffer | undefined | null,
): Promise<Buffer> | Promise<Buffer>
export declare function uncompressSync(data: string | Buffer, dict?: string | Buffer | undefined | null): Buffer