IndexCacheLoader -> ArchiveLoader, read -> decode
This commit is contained in:
@@ -38,15 +38,15 @@ public class StructDefinition extends DualNode {
|
||||
signature = "(Lgr;I)V",
|
||||
garbageValue = "853330780"
|
||||
)
|
||||
@Export("read")
|
||||
void read(Buffer var1) {
|
||||
@Export("decode")
|
||||
void decode(Buffer var1) {
|
||||
while (true) {
|
||||
int var2 = var1.readUnsignedByte();
|
||||
if (var2 == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.readNext(var1, var2);
|
||||
this.decodeNext(var1, var2);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -55,8 +55,8 @@ public class StructDefinition extends DualNode {
|
||||
signature = "(Lgr;II)V",
|
||||
garbageValue = "-2035893488"
|
||||
)
|
||||
@Export("readNext")
|
||||
void readNext(Buffer var1, int var2) {
|
||||
@Export("decodeNext")
|
||||
void decodeNext(Buffer var1, int var2) {
|
||||
if (var2 == 249) {
|
||||
this.params = AbstractArchive.readStringIntParameters(var1, this.params);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user