feat: move to bigints for larger file sizes

This commit is contained in:
DecDuck
2025-07-14 15:17:38 +10:00
parent e525ff44bb
commit 2969d64c45
5 changed files with 11 additions and 11 deletions

View File

@ -53,7 +53,7 @@ test("read file offset", async (t) => {
const testString = "0123456789";
fs.writeFileSync(dirName + "/TESTFILE", testString);
const stream = droplet.readFile(dirName, "TESTFILE", 1, 4);
const stream = droplet.readFile(dirName, "TESTFILE", BigInt(1), BigInt(4));
let finalString = "";