io.netty.handler.codec.compression.SnappyFrameDecoder.class Maven / Gradle / Ivy
???? 2 ? 5io/netty/handler/codec/compression/SnappyFrameDecoder +io/netty/handler/codec/ByteToMessageDecoder SnappyFrameDecoder.java 7io/netty/handler/codec/compression/SnappyFrameDecoder$1 ?io/netty/handler/codec/compression/SnappyFrameDecoder$ChunkType ChunkType SNAPPY_IDENTIFIER_LEN I MAX_UNCOMPRESSED_DATA_SIZE snappy +Lio/netty/handler/codec/compression/Snappy; validateChecksums Z started corrupted ()V (Z)V
this 7Lio/netty/handler/codec/compression/SnappyFrameDecoder;
)io/netty/handler/codec/compression/Snappy
" $ decode T(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V java/lang/Exception ( * io/netty/buffer/ByteBuf ,
readableBytes ()I . /
- 0 skipBytes (I)Lio/netty/buffer/ByteBuf; 2 3
- 4 readerIndex 6 /
- 7 getUnsignedByte (I)S 9 :
- ; mapChunkType D(B)Lio/netty/handler/codec/compression/SnappyFrameDecoder$ChunkType; = >
? getUnsignedMediumLE (I)I A B
- C J$SwitchMap$io$netty$handler$codec$compression$SnappyFrameDecoder$ChunkType [I E F G ordinal I /
J 9io/netty/handler/codec/compression/DecompressionException L java/lang/StringBuilder N
O (Unexpected length of stream identifier: Q append -(Ljava/lang/String;)Ljava/lang/StringBuilder; S T
O U (I)Ljava/lang/StringBuilder; S W
O X toString ()Ljava/lang/String; Z [
O \ (Ljava/lang/String;)V ^
M _ getByte (I)B a b
- c checkByte (BB)V e f
g i 8Received RESERVED_SKIPPABLE tag before STREAM_IDENTIFIER k )Found reserved unskippable chunk type: 0x m java/lang/Integer o toHexString (I)Ljava/lang/String; q r
p s 7Received UNCOMPRESSED_DATA tag before STREAM_IDENTIFIER u 2Received UNCOMPRESSED_DATA larger than 65540 bytes w readIntLE y /
- z validateChecksum (ILio/netty/buffer/ByteBuf;II)V | }
~ readRetainedSlice ? 3
- ? java/util/List ? add (Ljava/lang/Object;)Z ? ? ? ? 5Received COMPRESSED_DATA tag before STREAM_IDENTIFIER ? &io/netty/channel/ChannelHandlerContext ? alloc $()Lio/netty/buffer/ByteBufAllocator; ? ? ? ? io/netty/buffer/ByteBufAllocator ? buffer ()Lio/netty/buffer/ByteBuf; ? ? ? ? writerIndex ? /
- ? ? 3
- ? 5(Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V &