mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: uhh
This commit is contained in:
1 parent
fdf77a43cb
commit
4c2f6bea25
7 files changed
+136
-56
No files matched your search
@@ -1,5 +1,4 @@
|
||||
import { crc32 } from 'crc';
|
||||
import { readFile } from 'fs/promises';
|
||||
import { decodeBlock } from 'lz4';
|
||||
|
||||
/**
|
||||
@@ -7,8 +6,7 @@ import { decodeBlock } from 'lz4';
|
||||
*
|
||||
* https://github.com/Maddoxkkm/dvpl_converter/
|
||||
*/
|
||||
export async function readDVPL(file: string) {
|
||||
const buffer = await readFile(file);
|
||||
export function readDVPL(buffer: Buffer) {
|
||||
const footerBuffer = buffer.subarray(buffer.length - 20, buffer.length);
|
||||
|
||||
if (
|
||||
|
||||
Reference in new issue
Block a user