@@ -37,19 +37,19 @@ public static byte[] decode(final byte[] inputBuffer) throws IOException {
37
37
return decode (inputBuffer , 0 , inputBuffer .length );
38
38
}
39
39
40
- public static byte [] decode (final byte [] inputBuffer , int inputPtr , int inputLen ) throws IOException {
41
- return ChunkDecoderFactory .optimalInstance ().decode (inputBuffer );
40
+ public static byte [] decode (final byte [] inputBuffer , int offset , int length ) throws IOException {
41
+ return ChunkDecoderFactory .optimalInstance ().decode (inputBuffer , offset , length );
42
42
}
43
43
44
44
public static int decode (final byte [] inputBuffer , final byte [] targetBuffer ) throws IOException {
45
45
return decode (inputBuffer , 0 , inputBuffer .length , targetBuffer );
46
46
}
47
47
48
- public static int decode (final byte [] sourceBuffer , int inPtr , int inLength , final byte [] targetBuffer ) throws IOException {
49
- return ChunkDecoderFactory .optimalInstance ().decode (sourceBuffer , inPtr , inLength , targetBuffer );
48
+ public static int decode (final byte [] sourceBuffer , int offset , int length , final byte [] targetBuffer ) throws IOException {
49
+ return ChunkDecoderFactory .optimalInstance ().decode (sourceBuffer , offset , length , targetBuffer );
50
50
}
51
51
52
- public static int calculateUncompressedSize (byte [] data , int ptr , int length ) throws IOException {
53
- return ChunkDecoder .calculateUncompressedSize (data , ptr , length );
52
+ public static int calculateUncompressedSize (byte [] data , int offset , int length ) throws IOException {
53
+ return ChunkDecoder .calculateUncompressedSize (data , offset , length );
54
54
}
55
55
}
0 commit comments