@relicx_/kernel 1.1.46 → 1.1.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +3 -3
- package/index.js +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -305,9 +305,9 @@ declare class GameApplication extends Module {
|
|
|
305
305
|
}
|
|
306
306
|
|
|
307
307
|
declare class EncryptFile {
|
|
308
|
-
static EncryptBuffer(buffer: Buffer, key: string): Buffer
|
|
309
|
-
static DecryptBuffer(buffer: Buffer, key: string): Buffer
|
|
310
|
-
static LoadFile(path: string, key?: string): Buffer
|
|
308
|
+
static EncryptBuffer(buffer: Buffer, key: string): Buffer<ArrayBufferLike>;
|
|
309
|
+
static DecryptBuffer(buffer: Buffer, key: string): Buffer<ArrayBufferLike>;
|
|
310
|
+
static LoadFile(path: string, key?: string): Buffer<ArrayBufferLike>;
|
|
311
311
|
static LoadFileString(path: string): string;
|
|
312
312
|
static LoadFileMD5(path: string): string;
|
|
313
313
|
static SaveFile(path: string, key: string, data: Buffer): void;
|