classes.io.netty.handler.codec.compression.JZlibEncoder.class Maven / Gradle / Ivy
The newest version!
???? 2z
e ?
e ?
e ? ? ?
e ?
e ?
f ? ?
? e ? ? ?
? ?
?
? ?
?
? ? ? ? ? ? z
? ? ? ?
? ?
? ?
? ?
? ?
? ? e ?
e ?
e ? ? L ?
?
? ? ? ? ? ?
e ? ? ? ? ? ? ? ?
2 ? ? ? e ? ? ?
6 ? 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 ? ? n ? p w ' { p | p } p q com/jcraft/jzlib/Deflater j k "java/lang/IllegalArgumentException java/lang/StringBuilder compressionLevel: ()(* (expected: 0-9)+, p- windowBits: (expected: 9-15)
memLevel: (expected: 1-9) java/lang/NullPointerException. { wrapper '(/ !' is not allowed for compression.01456 initialization failure78 h9 h i p ? p ?:;<6=> failed to set the dictionary!?@ABC ? ? ?D"E ? 1io/netty/handler/codec/compression/JZlibEncoder$1 pFGH n o java/lang/IllegalStateException not added to a pipeline l mIJKLM ?N i ?OP ?QLRLS iTUVWXYZ[ i\ ?]L^ i com/jcraft/jzlib/JZlib_`aZ compression failure]Z 1io/netty/handler/codec/compression/JZlibEncoder$2 pb%cde ? 1io/netty/handler/codec/compression/JZlibEncoder$3fghij&kClm ?nopqrLstuv ?wx 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 convertWrapperTypey 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 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 h i j k B l m B n o p q r 5 *? ? s
2 3 t u v p w r A *? ? ? s
B C t u v x i p y r @ *+? ? s
M N t u v z { p | r M *+? ? s
]
^ t u v z { x i p } r ? ?*? *? Y? ?
? ? #? Y? Y?
? ? ? ? ? ? ? ? #? Y? Y?
? ? ? ? ? ??
? $? Y? Y?
? ? ? ? ? ?+?
? Y? ?+? ? %? Y? Y?
? ? ? ? ? ? ?*?
+? ? 6? *?
!? "*+? #? $? s N v &