io.netty.handler.codec.compression.LzfEncoder.class Maven / Gradle / Ivy
???? 2 ? -io/netty/handler/codec/compression/LzfEncoder HLio/netty/handler/codec/MessageToByteEncoder; +io/netty/handler/codec/MessageToByteEncoder LzfEncoder.java MIN_BLOCK_TO_COMPRESS I encoder ;Lcom/groupbyinc/flux/common/ning/compress/lzf/ChunkEncoder; recycler 9Lcom/groupbyinc/flux/common/ning/compress/BufferRecycler; ()V ?? (ZI)V
this /Lio/netty/handler/codec/compression/LzfEncoder; (Z)V safeInstance Z (I)V totalLength
"java/lang/IllegalArgumentException java/lang/StringBuilder
!
totalLength: # append -(Ljava/lang/String;)Ljava/lang/StringBuilder; % &
' (I)Ljava/lang/StringBuilder; % )
* (expected: , (C)Ljava/lang/StringBuilder; % .
/ toString ()Ljava/lang/String; 1 2
3 (Ljava/lang/String;)V 5
6 Ecom/groupbyinc/flux/common/ning/compress/lzf/util/ChunkEncoderFactory 8 safeNonAllocatingInstance >(I)Lcom/groupbyinc/flux/common/ning/compress/lzf/ChunkEncoder; : ;
9 < optimalNonAllocatingInstance > ;
9 ? 9com/groupbyinc/flux/common/ning/compress/lzf/ChunkEncoder A
C 7com/groupbyinc/flux/common/ning/compress/BufferRecycler E instance ;()Lcom/groupbyinc/flux/common/ning/compress/BufferRecycler; G H
F I
K encode ](Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V java/lang/Exception O io/netty/buffer/ByteBuf Q
readableBytes ()I S T
R U readerIndex W T
R X hasArray ()Z Z [
R \ array ()[B ^ _
R ` arrayOffset b T
R c allocInputBuffer (I)[B e f
F g getBytes (I[BII)Lio/netty/buffer/ByteBuf; i j
R k [B m 7com/groupbyinc/flux/common/ning/compress/lzf/LZFEncoder o estimateMaxWorkspaceSize (I)I q r
p s ensureWritable (I)Lio/netty/buffer/ByteBuf; u v
R w writerIndex y T
R z
appendEncoded E(Lcom/groupbyinc/flux/common/ning/compress/lzf/ChunkEncoder;[BII[BI)I | }
p ~ y v
R ? skipBytes ? v
R ? releaseInputBuffer ([B)V ? ?
F ? &io/netty/channel/ChannelHandlerContext ? input inputPtr ctx (Lio/netty/channel/ChannelHandlerContext; in Lio/netty/buffer/ByteBuf; out length idx maxOutputLength output outputPtr outputLength V(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Lio/netty/buffer/ByteBuf;)V M N
?
ConstantValue Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions Signature
SourceFile ! ?
? 6 *? ? ? ?
: ; ? @ *? ? ? ?
G H ? ? *? ? ? ?
S T ? ? `*? ? ? 7? Y? Y? "$? (? +-? (? +-? 0? +)? 0? 4? 7?*?
? =? ? @? D*? J? L? ? ` ` ` ? " c d e E i K j R k X m _ n ? % ? 3K ? B M N ? ? ?,? V6,? Y6,? ]? ,? a:,? d`6? *? L? h:,? lW6? t6-? xW-? a: -? d-? {`6
*? D
?
d6--? {`? ?W,? ?W,? ]? *? L? ?? ? ? ? m " ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 0 h ? m ? Y ? F R ? S E ? m ^ : ?
t $ ? ? J r s v w x % z 0 { <