io.netty.handler.codec.compression.Bzip2Encoder.class Maven / Gradle / Ivy
???? 20 /io/netty/handler/codec/compression/Bzip2Encoder HLio/netty/handler/codec/MessageToByteEncoder; +io/netty/handler/codec/MessageToByteEncoder Bzip2Encoder.java 1io/netty/handler/codec/compression/Bzip2Encoder$4 5io/netty/handler/codec/compression/Bzip2Encoder$State State 1io/netty/handler/codec/compression/Bzip2Encoder$3 1io/netty/handler/codec/compression/Bzip2Encoder$2 1io/netty/handler/codec/compression/Bzip2Encoder$1 currentState 7Lio/netty/handler/codec/compression/Bzip2Encoder$State; writer 3Lio/netty/handler/codec/compression/Bzip2BitWriter; streamBlockSize I streamCRC blockCompressor 9Lio/netty/handler/codec/compression/Bzip2BlockCompressor; finished Z ctx (Lio/netty/channel/ChannelHandlerContext; ()V (I)V !
" this 1Lio/netty/handler/codec/compression/Bzip2Encoder;
& INIT (
) + 1io/netty/handler/codec/compression/Bzip2BitWriter -
. & 0 "java/lang/IllegalArgumentException 2 java/lang/StringBuilder 4
5 & blockSizeMultiplier: 7 append -(Ljava/lang/String;)Ljava/lang/StringBuilder; 9 :
5 ; (I)Ljava/lang/StringBuilder; 9 =
5 > (expected: 1-9) @ toString ()Ljava/lang/String; B C
5 D (Ljava/lang/String;)V F
3 G ?? J blockSizeMultiplier encode ](Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V java/lang/Exception O Q io/netty/buffer/ByteBuf S
writeBytes 4(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf; U V
T W @$SwitchMap$io$netty$handler$codec$compression$Bzip2Encoder$State [I Y Z [ ordinal ()I ] ^
_ ensureWritable (I)Lio/netty/buffer/ByteBuf; a b
T c BZh writeMedium f b
T g writeByte i b
T j
INIT_BLOCK l
m 7io/netty/handler/codec/compression/Bzip2BlockCompressor o 7(Lio/netty/handler/codec/compression/Bzip2BitWriter;I)V q
p r t
WRITE_DATA v
w
isReadable ()Z y z
T {
readableBytes } ^
T ~
availableSize ? ^
p ? java/lang/Math ? min (II)I ? ?
? ? readerIndex ? ^
T ? write (Lio/netty/buffer/ByteBuf;II)I ? ?
p ? skipBytes ? b
T ? isFull ? z
p ? CLOSE_BLOCK ?
?
closeBlock (Lio/netty/buffer/ByteBuf;)V ? ?
? java/lang/IllegalStateException ?
? & length bytesWritten in Lio/netty/buffer/ByteBuf; out isEmpty ? z
p ? close ? ?
p ? crc ? ^
p ? ? blockCRC isClosed "()Lio/netty/channel/ChannelFuture; *()Lio/netty/channel/ChannelHandlerContext; ?
? &io/netty/channel/ChannelHandlerContext ?
newPromise #()Lio/netty/channel/ChannelPromise; ? ? ? ? C(Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; ? ?
? executor *()Lio/netty/util/concurrent/EventExecutor; ? ? ? ? &io/netty/util/concurrent/EventExecutor ? inEventLoop ? z ? ? finishEncode k(Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; ? ?
? U(Lio/netty/handler/codec/compression/Bzip2Encoder;Lio/netty/channel/ChannelPromise;)V ?
? execute (Ljava/lang/Runnable;)V ? ? ? ? promise !Lio/netty/channel/ChannelPromise; (Lio/netty/util/concurrent/EventExecutor; L(Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)V }(Lio/netty/handler/codec/compression/Bzip2Encoder;Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)V ?
? io/netty/channel/ChannelFuture ? addListener R(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture; ? ? ? ? isDone ? z ? ?
?
java/util/concurrent/TimeUnit ? SECONDS Ljava/util/concurrent/TimeUnit; ? ? ? ? schedule `(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Lio/netty/util/concurrent/ScheduledFuture; ? ? ? ? f Lio/netty/channel/ChannelFuture; io/netty/channel/ChannelPromise ?
setSuccess ? ? ? ? alloc $()Lio/netty/buffer/ByteBufAllocator; ? ? ? ? io/netty/buffer/ByteBufAllocator ? buffer ()Lio/netty/buffer/ByteBuf; ? ? ? ? rE writeBits (Lio/netty/buffer/ByteBuf;IJ)V
. 8P? writeInt (Lio/netty/buffer/ByteBuf;I)V
. flush
?
. java/lang/Throwable
writeAndFlush U(Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; ? footer not added to a pipeline
? G handlerAdded +(Lio/netty/channel/ChannelHandlerContext;)V V(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Lio/netty/buffer/ByteBuf;)V M N
access$000 [(Lio/netty/handler/codec/compression/Bzip2Encoder;)Lio/netty/channel/ChannelHandlerContext; x0
access$100 ?(Lio/netty/handler/codec/compression/Bzip2Encoder;Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; x1 x2 Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions Signature
SourceFile InnerClasses ! B B ( 5 * ? #? ) $ % *
T U ! ( ? J*? '*? *? ,*? .Y? /? 1? ? #? 3Y? 5Y? 68? <? ?A?