mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-14 13:16:11 +01:00
feat: switch to array buffer
This commit is contained in:
1 parent
9cfa2357b0
commit
cb2846a256
7 files changed
+45
-53
No files matched your search
@@ -121,7 +121,7 @@ export class ScpgReadStream extends ReadStream {
|
||||
}
|
||||
|
||||
case KAType.KEYED_ARCHIVE: {
|
||||
this.skip(4); // UInt32 length of the nested archive in bytes
|
||||
this.seek(4); // UInt32 length of the nested archive in bytes
|
||||
|
||||
return this.ka(stringTable);
|
||||
}
|
||||
@@ -195,7 +195,7 @@ export class ScpgReadStream extends ReadStream {
|
||||
}
|
||||
}
|
||||
ka(stringTable?: Record<number, string>) {
|
||||
this.skip(2); // "KA"
|
||||
this.seek(2); // "KA"
|
||||
const version = this.uint16();
|
||||
const pairs: Record<string, any> = {};
|
||||
|
||||
|
||||
Reference in new issue
Block a user