Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/toyobayashi/node-usm-decrypter
https://github.com/toyobayashi/node-usm-decrypter
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/toyobayashi/node-usm-decrypter
- Owner: toyobayashi
- Created: 2020-12-26T08:48:00.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-04T13:27:57.000Z (8 months ago)
- Last Synced: 2024-08-08T22:52:03.075Z (3 months ago)
- Language: C++
- Size: 54.7 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
```ts
export declare type DecryptCallback = (err: Error | null, outdir: string) => voidexport declare enum Encoding {
UTF8 = 65001,
SHIFT_JIS = 932
}export declare class USMDecrypter {
constructor(cipherKey1?: number, cipherKey2?: number)getEncoding (): Encoding
setEncoding (encoding: Encoding): voiddemux (usmFile: string, callback?: DecryptCallback): void
demux (usmFile: string, outdir: string, callback?: DecryptCallback): void
demux (usmFile: string, outdir: string, adxDecode: boolean, callback?: DecryptCallback): voiddemuxSync (usmFile: string, outdir?: string, adxDecode?: boolean): string
}
```