classes.io.netty.handler.codec.compression.JZlibEncoder.class Maven / Gradle / Ivy
???? 2}
e ?
e ?
e ? ? ?
e ?
e ?
f ? ?
? e ? ? ?
? ?
?
? ?
?
? ? ? ? ? ? {
? ? ? ?
? ? ?
? ?
? ?
? ?
? ? e ?
e ?
e ? ? ? ?
?
? ? ? ? ? ?
e ? ? ? ? ? ? ? ?
3 ? ? ? e ? ? ?
7 ? e ?
c ?
c ?
c ? ?
c ? ?
c ?
c ? ?
c ????t?j
?
c
c
c
c
Q
U
?
?
?
e ! InnerClasses wrapperOverhead I z Lcom/jcraft/jzlib/Deflater; finished Z ctx (Lio/netty/channel/ChannelHandlerContext; ()V Code LineNumberTable LocalVariableTable this 1Lio/netty/handler/codec/compression/JZlibEncoder; (I)V compressionLevel 3(Lio/netty/handler/codec/compression/ZlibWrapper;)V wrapper 0Lio/netty/handler/codec/compression/ZlibWrapper; 4(Lio/netty/handler/codec/compression/ZlibWrapper;I)V 6(Lio/netty/handler/codec/compression/ZlibWrapper;III)V
windowBits memLevel
resultCode
StackMapTable " ([B)V
dictionary [B (I[B)V (III[B)V ? close "()Lio/netty/channel/ChannelFuture; C(Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; p !Lio/netty/channel/ChannelPromise; promise executor (Lio/netty/util/concurrent/EventExecutor;#$ *()Lio/netty/channel/ChannelHandlerContext; isClosed ()Z encode ](Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V array
inHasArray oldNextInIndex maxOutputLength oldNextOutIndex outputLength in Lio/netty/buffer/ByteBuf; out inputLength%
Exceptions& L(Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)V f Lio/netty/channel/ChannelFuture;' finishEncode k(Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; footer( handlerAdded +(Lio/netty/channel/ChannelHandlerContext;)V V(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Lio/netty/buffer/ByteBuf;)V
access$000 [(Lio/netty/handler/codec/compression/JZlibEncoder;)Lio/netty/channel/ChannelHandlerContext; x0
access$100 ?(Lio/netty/handler/codec/compression/JZlibEncoder;Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; x1 x2
SourceFile JZlibEncoder.java ? ? o ? q x") | q } q ~ q r com/jcraft/jzlib/Deflater k l "java/lang/IllegalArgumentException java/lang/StringBuilder compressionLevel: *+*, (expected: 0-9)-. q/ windowBits: (expected: 9-15)
memLevel: (expected: 1-9) java/lang/NullPointerException0 | wrapper '*1 ' is not allowed for compression.23678 initialization failure9: i; i j q ? q ?<=>?8@A failed to set the dictionary#BCDEF ? ? ?G$H ? 1io/netty/handler/codec/compression/JZlibEncoder$1 qIJK o p java/lang/IllegalStateException not added to a pipeline m nLMNOP ?Q j ?RS ?TOUOV jWXYZ[\]^ j_ ?`Oa jbcd] compression failure`] 1io/netty/handler/codec/compression/JZlibEncoder$2 qe'fgh ? 1io/netty/handler/codec/compression/JZlibEncoder$3ijklm(nFop ?qrstuOvwxy ?z{ io/netty/buffer/ByteBuf ? ? /io/netty/handler/codec/compression/JZlibEncoder .io/netty/handler/codec/compression/ZlibEncoder .io/netty/handler/codec/compression/ZlibWrapper &io/netty/channel/ChannelHandlerContext &io/netty/util/concurrent/EventExecutor java/lang/Throwable java/lang/Exception io/netty/channel/ChannelFuture io/netty/channel/ChannelPromise ZLIB append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; (Ljava/lang/String;)V ZLIB_OR_NONE -(Ljava/lang/Object;)Ljava/lang/StringBuilder; +io/netty/handler/codec/compression/ZlibUtil convertWrapperType| WrapperType V(Lio/netty/handler/codec/compression/ZlibWrapper;)Lcom/jcraft/jzlib/JZlib$WrapperType; init *(IIILcom/jcraft/jzlib/JZlib$WrapperType;)I fail 1(Lcom/jcraft/jzlib/Deflater;Ljava/lang/String;I)V 3(Lio/netty/handler/codec/compression/ZlibWrapper;)I com/jcraft/jzlib/JZlib W_ZLIB $Lcom/jcraft/jzlib/JZlib$WrapperType; deflateInit deflateSetDictionary ([BI)I channel ()Lio/netty/channel/Channel; io/netty/channel/Channel
newPromise #()Lio/netty/channel/ChannelPromise; *()Lio/netty/util/concurrent/EventExecutor; inEventLoop v(Lio/netty/handler/codec/compression/JZlibEncoder;Lio/netty/channel/ChannelPromise;Lio/netty/channel/ChannelPromise;)V execute (Ljava/lang/Runnable;)V
writeBytes 4(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
readableBytes ()I hasArray avail_in ()[B next_in arrayOffset readerIndex
next_in_index getBytes (I[B)Lio/netty/buffer/ByteBuf; java/lang/Math ceil (D)D ensureWritable (I)Lio/netty/buffer/ByteBuf; avail_out next_out writerIndex next_out_index deflate (I)I skipBytes }(Lio/netty/handler/codec/compression/JZlibEncoder;Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)V addListener R(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture; isDone java/util/concurrent/TimeUnit SECONDS Ljava/util/concurrent/TimeUnit; schedule `(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Lio/netty/util/concurrent/ScheduledFuture;
setSuccess "io/netty/util/internal/EmptyArrays EMPTY_BYTES deflaterException i(Lcom/jcraft/jzlib/Deflater;Ljava/lang/String;I)Lio/netty/handler/codec/compression/CompressionException;
setFailure 8(Ljava/lang/Throwable;)Lio/netty/channel/ChannelPromise;
deflateEnd io/netty/buffer/Unpooled
wrappedBuffer ([BII)Lio/netty/buffer/ByteBuf; EMPTY_BUFFER
writeAndFlush U(Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; "com/jcraft/jzlib/JZlib$WrapperType ! e f i j k l B m n B o p q r s 5 *? ? t
2 3 u v w q x s A *? ? ? t
B C u v w y j q z s @ *+? ? t
M N u v w { | q } s M *+? ? t
]
^ u v w { | y j q ~ s ? ?*? *? Y? ?
? ? #? Y? Y?
? ? ? ? ? ? ? ? #? Y? Y?
? ? ? ? ? ??
? $? Y? Y?
? ? ? ? ? ?+?
? Y? ?+? ? *? Y? Y?
? ? ? ? ? ? ? ?*?
+? ? !6? *?
"? #*+? $? %? t F v &