io.netty.handler.codec.compression.Lz4FrameDecoder.class Maven / Gradle / Ivy
???? 2
2io/netty/handler/codec/compression/Lz4FrameDecoder +io/netty/handler/codec/ByteToMessageDecoder Lz4FrameDecoder.java 4io/netty/handler/codec/compression/Lz4FrameDecoder$1 8io/netty/handler/codec/compression/Lz4FrameDecoder$State State currentState :Lio/netty/handler/codec/compression/Lz4FrameDecoder$State; decompressor %Lnet/jpountz/lz4/LZ4FastDecompressor; checksum 4Lio/netty/handler/codec/compression/ByteBufChecksum; blockType I compressedLength decompressedLength currentChecksum ()V (Z)V
this 4Lio/netty/handler/codec/compression/Lz4FrameDecoder; net/jpountz/lz4/LZ4Factory fastestInstance ()Lnet/jpountz/lz4/LZ4Factory;
! (Lnet/jpountz/lz4/LZ4Factory;Z)V #
$ validateChecksums Z net/jpountz/xxhash/XXHashFactory ( $()Lnet/jpountz/xxhash/XXHashFactory; *
) +?G?? newStreamingHash32 )(I)Lnet/jpountz/xxhash/StreamingXXHash32; . /
) 0 $net/jpountz/xxhash/StreamingXXHash32 2
asChecksum ()Ljava/util/zip/Checksum; 4 5
3 6 java/util/zip/Checksum 8 7(Lnet/jpountz/lz4/LZ4Factory;Ljava/util/zip/Checksum;)V :
; factory Lnet/jpountz/lz4/LZ4Factory;
?
INIT_BLOCK A B D java/lang/NullPointerException F = (Ljava/lang/String;)V I
G J fastDecompressor '()Lnet/jpountz/lz4/LZ4FastDecompressor; L M
N
P 2io/netty/handler/codec/compression/ByteBufChecksum R wrapChecksum N(Ljava/util/zip/Checksum;)Lio/netty/handler/codec/compression/ByteBufChecksum; T U
S V X Ljava/util/zip/Checksum; decode T(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V java/lang/Exception ] net/jpountz/lz4/LZ4Exception _ C$SwitchMap$io$netty$handler$codec$compression$Lz4FrameDecoder$State [I a b c ordinal ()I e f
g io/netty/buffer/ByteBuf i
readableBytes k f
j l readLong ()J n o
j pLZ4Block 9io/netty/handler/codec/compression/DecompressionException t unexpected block identifier v
u J readByte ()B y z
j { readInt } f
j ~ java/lang/Integer ? reverseBytes (I)I ? ?
? ? &io/netty/channel/ChannelHandlerContext ? java/util/List ? -invalid compressedLength: %d (expected: 0-%d) ? java/lang/Object ? valueOf (I)Ljava/lang/Integer; ? ?
? ? java/lang/String ? format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; ? ?
? ? /invalid decompressedLength: %d (expected: 0-%d) ? Jstream corrupted: compressedLength(%d) and decompressedLength(%d) mismatch ? stream corrupted: checksum error ? FINISHED ? ? ? ? ? ? DECOMPRESS_DATA ? ? readerIndex ? f
j ?
retainedSlice (II)Lio/netty/buffer/ByteBuf; ? ?
j ? alloc $()Lio/netty/buffer/ByteBufAllocator; ? ? ? ? io/netty/buffer/ByteBufAllocator ? buffer ? ? ? ? 2io/netty/handler/codec/compression/CompressionUtil ?
safeNioBuffer 0(Lio/netty/buffer/ByteBuf;)Ljava/nio/ByteBuffer; ? ?
? ? writerIndex ? f
j ? internalNioBuffer (II)Ljava/nio/ByteBuffer; ? ?
j ? #net/jpountz/lz4/LZ4FastDecompressor ?
decompress -(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)V ? ?
? ? (I)Lio/netty/buffer/ByteBuf; ? ?
j ? -unexpected blockType: %d (expected: %d or %d) ? skipBytes ? ?
j ?
checkChecksum Q(Lio/netty/handler/codec/compression/ByteBufChecksum;Lio/netty/buffer/ByteBuf;I)V ? ?
? ? add (Ljava/lang/Object;)Z ? ? ? ? release ()Z ? ?
j ? (Ljava/lang/Throwable;)V ?
u ? java/lang/Throwable ? java/lang/IllegalStateException ?
? ? CORRUPTED ? ? magic J token compressionLevel maxDecompressedLength e Lnet/jpountz/lz4/LZ4Exception; uncompressed Lio/netty/buffer/ByteBuf; Ljava/lang/Exception; ctx (Lio/netty/channel/ChannelHandlerContext; in out $Ljava/util/List; Ljava/util/List; isClosed Code LocalVariableTable LineNumberTable
StackMapTable LocalVariableTypeTable
Exceptions Signature h(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V
SourceFile InnerClasses !
4 *? ?
d e A *? "? %? &