generated from napi-rs/package-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #665 from antoniomuso/feat/added-frame-compression…
…-decompression feat: added frame compression decompression
- Loading branch information
Showing
8 changed files
with
1,026 additions
and
603 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,13 @@ | ||
/* auto-generated by NAPI-RS */ | ||
/* eslint-disable */ | ||
export declare export function compress(data: string | Buffer, dict?: string | Buffer | undefined | null): Promise<Buffer> | Promise<Buffer> | ||
|
||
export function compress( | ||
data: string | Buffer, | ||
dict?: string | Buffer | undefined | null, | ||
): Promise<Buffer> | Promise<Buffer> | ||
export declare export function compressFrame(data: string | Buffer): Promise<Buffer> | ||
|
||
export function compressSync(data: string | Buffer, dict?: string | Buffer | undefined | null): Buffer | ||
export declare export function compressSync(data: string | Buffer, dict?: string | Buffer | undefined | null): Buffer | ||
|
||
export function uncompress( | ||
data: string | Buffer, | ||
dict?: string | Buffer | undefined | null, | ||
): Promise<Buffer> | Promise<Buffer> | ||
export declare export function decompressFrame(data: string | Buffer): Promise<Buffer> | ||
|
||
export function uncompressSync(data: string | Buffer, dict?: string | Buffer | undefined | null): Buffer | ||
export declare export function uncompress(data: string | Buffer, dict?: string | Buffer | undefined | null): Promise<Buffer> | Promise<Buffer> | ||
|
||
export declare export function uncompressSync(data: string | Buffer, dict?: string | Buffer | undefined | null): Buffer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.