final class io.netty.handler.codec.compression.CompressionUtil
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.handler.codec.compression.CompressionUtil
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/compression/CompressionUtil;
static void checkChecksum(io.netty.handler.codec.compression.ByteBufChecksum, io.netty.buffer.ByteBuf, int);
descriptor: (Lio/netty/handler/codec/compression/ByteBufChecksum;Lio/netty/buffer/ByteBuf;I)V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual io.netty.handler.codec.compression.ByteBufChecksum.reset:()V
1: aload 0
aload 1
2: aload 1
invokevirtual io.netty.buffer.ByteBuf.readerIndex:()I
aload 1
invokevirtual io.netty.buffer.ByteBuf.readableBytes:()I
3: invokevirtual io.netty.handler.codec.compression.ByteBufChecksum.update:(Lio/netty/buffer/ByteBuf;II)V
4: aload 0
invokevirtual io.netty.handler.codec.compression.ByteBufChecksum.getValue:()J
l2i
istore 3
start local 3 5: iload 3
iload 2
if_icmpeq 10
6: new io.netty.handler.codec.compression.DecompressionException
dup
7: ldc "stream corrupted: mismatching checksum: %d (expected: %d)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
8: iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
9: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial io.netty.handler.codec.compression.DecompressionException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals: int
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 checksum Lio/netty/handler/codec/compression/ByteBufChecksum;
0 11 1 uncompressed Lio/netty/buffer/ByteBuf;
0 11 2 currentChecksum I
5 11 3 checksumResult I
MethodParameters:
Name Flags
checksum
uncompressed
currentChecksum
static java.nio.ByteBuffer safeNioBuffer(io.netty.buffer.ByteBuf);
descriptor: (Lio/netty/buffer/ByteBuf;)Ljava/nio/ByteBuffer;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.netty.buffer.ByteBuf.nioBufferCount:()I
iconst_1
if_icmpne 1
aload 0
aload 0
invokevirtual io.netty.buffer.ByteBuf.readerIndex:()I
aload 0
invokevirtual io.netty.buffer.ByteBuf.readableBytes:()I
invokevirtual io.netty.buffer.ByteBuf.internalNioBuffer:(II)Ljava/nio/ByteBuffer;
goto 2
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.netty.buffer.ByteBuf.nioBuffer:()Ljava/nio/ByteBuffer;
2: StackMap locals:
StackMap stack: java.nio.ByteBuffer
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 buffer Lio/netty/buffer/ByteBuf;
MethodParameters:
Name Flags
buffer
}
SourceFile: "CompressionUtil.java"