This commit is contained in:
Vanilagy
2025-04-25 17:35:05 +02:00
10 changed files with 36 additions and 24 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ export class Reader {
constructor(public source: Source, public maxStorableBytes = Infinity) {}
async loadRange(start: number, end: number) {
end = Math.min(end, await this.source._getSize());
end = Math.min(end, await this.source.getSize());
if (start >= end) {
return;