mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 03:07:04 +02:00
fix: update all
This commit is contained in:
1 parent
bdea9fdab3
commit
e2f50871ec
86 files changed
+1939
-1537
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import { crc32 } from 'crc';
|
||||
import { compressBlock } from 'lz4js';
|
||||
import { crc32 } from "crc";
|
||||
import { compressBlock } from "lz4js";
|
||||
|
||||
/**
|
||||
* Thanks Maddoxkkm! Modernized heavily.
|
||||
@@ -14,7 +14,7 @@ export function writeDVPL(buffer: Buffer) {
|
||||
destination,
|
||||
0,
|
||||
source.length,
|
||||
0,
|
||||
[0],
|
||||
);
|
||||
let output = Buffer.from(destination);
|
||||
|
||||
@@ -58,7 +58,7 @@ function toDVPLFooter(
|
||||
result.writeUInt32LE(compressedSize, 4);
|
||||
result.writeUInt32LE(crc32, 8);
|
||||
result.writeUInt32LE(type, 12);
|
||||
result.write('DVPL', 16, 4, 'utf8');
|
||||
result.write("DVPL", 16, 4, "utf8");
|
||||
|
||||
return result;
|
||||
}
|
||||
Reference in new issue
Block a user