Refactor the HuffmanCodec class

Signed-off-by: Graham <gpe@openrs2.dev>
Graham 4 years ago
parent e689d65f6c
commit 4e4b0aad40
  1. 140
      share/deob/map/client.yaml

@ -176,7 +176,7 @@ classes:
client!og: "Class4_Sub1_Sub21" client!og: "Class4_Sub1_Sub21"
client!oh: "Class127" client!oh: "Class127"
client!oi: "Class128" client!oi: "Class128"
client!oj: "Class129" client!oj: "HuffmanCodec"
client!ok: "BrokenOutputStream" client!ok: "BrokenOutputStream"
client!ol: "Class4_Sub20" client!ol: "Class4_Sub20"
client!om: "Class130" client!om: "Class130"
@ -7200,11 +7200,11 @@ fields:
owner: "Static5" owner: "Static5"
name: "anInt3884" name: "anInt3884"
client!oj.c [I: client!oj.c [I:
owner: "Class129" owner: "HuffmanCodec"
name: "anIntArray416" name: "codewords"
client!oj.f [B: client!oj.f [B:
owner: "Class129" owner: "HuffmanCodec"
name: "aByteArray50" name: "bits"
client!oj.g Z: client!oj.g Z:
owner: "Static5" owner: "Static5"
name: "aBoolean276" name: "aBoolean276"
@ -7212,8 +7212,8 @@ fields:
owner: "Static5" owner: "Static5"
name: "anInt3890" name: "anInt3890"
client!oj.l [I: client!oj.l [I:
owner: "Class129" owner: "HuffmanCodec"
name: "anIntArray417" name: "symbolTree"
client!ok.d Lclient!ol;: client!ok.d Lclient!ol;:
owner: "Static5" owner: "Static5"
name: "aClass4_Sub20_1" name: "aClass4_Sub20_1"
@ -33428,28 +33428,28 @@ methods:
0: "arg0" 0: "arg0"
locals: {} locals: {}
client!oj.<init> ([B)V: client!oj.<init> ([B)V:
owner: "Class129" owner: "HuffmanCodec"
name: "<init>" name: "<init>"
arguments: arguments:
0: "arg0" 0: "bits"
locals: locals:
6: "local6" 6: "symbols"
15: "local15" 15: "nextNode"
18: "local18" 18: "nextCodewords"
24: "local24" 24: "symbol"
31: "local31" 31: "codewordBits"
39: "local39" 39: "bit"
43: "local43" 43: "codeword"
59: "local59" 59: "nextCodeword"
65: "local65" 65: "i"
72: "local72" 72: "nextCodeword2"
85: "local85" 85: "bit2"
123: "local123" 123: "i"
147: "local147" 147: "node"
149: "local149" 149: "i"
156: "local156" 156: "bit2"
197: "local197" 197: "newSymbolTree"
199: "local199" 199: "j"
client!oj.a (IIIIIIFIZ)[[I: client!oj.a (IIIIIIFIZ)[[I:
owner: "Static27" owner: "Static27"
name: "method3234" name: "method3234"
@ -33460,32 +33460,32 @@ methods:
21: "local21" 21: "local21"
48: "local48" 48: "local48"
client!oj.a (III[B[BI)I: client!oj.a (III[B[BI)I:
owner: "Class129" owner: "HuffmanCodec"
name: "method3232" name: "encode"
arguments: arguments:
0: "arg0" 4: "src"
1: "arg1" 1: "srcOff"
3: "arg2" 3: "dest"
4: "arg3" 0: "destOff"
5: "arg4" 5: "len"
locals: locals:
19: "local19" 19: "prevCodeword"
23: "local23" 23: "pos"
32: "local32" 32: "symbol"
37: "local37" 37: "codeword"
42: "local42" 42: "codewordBits"
64: "local64" 64: "bytePos"
68: "local68" 68: "bitPos"
79: "local79" 79: "maskedPrevCodeword"
89: "local89" 89: "endBytePos"
109: "local109" 109: "bytePos2"
110: "local110" 110: "bitPos2"
129: "local129" 129: "bytePos3"
130: "local130" 130: "bitPos3"
149: "local149" 149: "bytePos4"
150: "local150" 150: "bitPos4"
169: "local169" 169: "bitPos5"
170: "local170" 170: "bytePos5"
client!oj.a (IIZLjava/lang/String;)Z: client!oj.a (IIZLjava/lang/String;)Z:
owner: "Static27" owner: "Static27"
name: "method3229" name: "method3229"
@ -33519,26 +33519,26 @@ methods:
locals: locals:
5: "local5" 5: "local5"
client!oj.b (III[B[BI)I: client!oj.b (III[B[BI)I:
owner: "Class129" owner: "HuffmanCodec"
name: "method3233" name: "decode"
arguments: arguments:
0: "arg0" 3: "src"
1: "arg1" 1: "srcOff"
3: "arg2" 4: "dest"
4: "arg3" 0: "destOff"
5: "arg4" 5: "len"
locals: locals:
23: "local23" 23: "node"
25: "local25" 25: "srcPos"
29: "local29" 29: "b"
36: "local36" 36: "node2"
46: "local46" 46: "node3"
76: "local76" 76: "node4"
121: "local121" 121: "node5"
156: "local156" 156: "node6"
199: "local199" 199: "node7"
235: "local235" 235: "node8"
270: "local270" 270: "node9"
client!ok.a (BI)I: client!ok.a (BI)I:
owner: "Static27" owner: "Static27"
name: "method3235" name: "method3235"

Loading…
Cancel
Save