IndexCacheLoader -> ArchiveLoader, read -> decode
This commit is contained in:
@@ -39,15 +39,15 @@ public class VarpDefinition extends DualNode {
|
||||
signature = "(Lgr;B)V",
|
||||
garbageValue = "-41"
|
||||
)
|
||||
@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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -56,8 +56,8 @@ public class VarpDefinition extends DualNode {
|
||||
signature = "(Lgr;II)V",
|
||||
garbageValue = "-1859920822"
|
||||
)
|
||||
@Export("readNext")
|
||||
void readNext(Buffer var1, int var2) {
|
||||
@Export("decodeNext")
|
||||
void decodeNext(Buffer var1, int var2) {
|
||||
if (var2 == 5) {
|
||||
this.type = var1.readUnsignedShort();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user