feat: switch to array buffer

This commit is contained in:
TrèsAbhi committed 2024-02-07 10:34:13 -06:00
1 parent 9cfa2357b0
commit cb2846a256
7 files changed
+45 -53

No files matched your search

+1 -1
View File
@@ -306,7 +306,7 @@ export class Sc2ReadStream extends ScpgReadStream {
const fileType = this.uint32();
// other felids that we don't have any info about
this.skip(size - 4);
this.seek(size - 4);
return { size, fileType };
}