mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: dds stream
This commit is contained in:
1 parent
cb87a3067c
commit
6361b09129
8 files changed
+258
-23
No files matched your search
@@ -97,13 +97,13 @@ export class ScpgStream extends PrimitiveStream {
|
||||
return stringTable[id];
|
||||
} else {
|
||||
const length = this.uint32();
|
||||
return this.consumeAscii(length);
|
||||
return this.ascii(length);
|
||||
}
|
||||
}
|
||||
|
||||
case KAType.BYTE_ARRAY: {
|
||||
const length = this.uint32();
|
||||
return this.consumeByteArray(length);
|
||||
return this.byte(length);
|
||||
}
|
||||
|
||||
case KAType.FLOAT:
|
||||
@@ -215,7 +215,7 @@ export class ScpgStream extends PrimitiveStream {
|
||||
|
||||
for (let index = 0; index < count; index++) {
|
||||
const length = this.uint16();
|
||||
const string = this.consumeAscii(length);
|
||||
const string = this.ascii(length);
|
||||
|
||||
strings.push(string);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user