classes.io.netty.handler.codec.compression.Lz4FrameEncoder.class Maven / Gradle / Ivy
???? 2?
b ?
b ?
b ?
? ?
? ??G??
? ?
? ?
b ?
c ? ?
? j
? ?
? ? b ? b ?
b ? b ? b ? b ?
? ? b ? b ? ? ? ?
? ?
? ?
?
? ?
? ?
` ?
` ? b ?
` ?
` ?
` ?
b ?
` ?
` ? ? ?
` ?
` ? ? ? ? ?
` ?
` ?
` ?
` ?
? ?
? ? ? ?
9 ?
` ?LZ4Block
` ?
` ?
`
`
`
b
`
b
M
P
T
b
[ ?
!
c"#
b$%& InnerClasses blockSize I
compressor Lnet/jpountz/lz4/LZ4Compressor; checksum Ljava/util/zip/Checksum; compressionLevel buffer Lio/netty/buffer/ByteBuf; currentBlockLength compressedBlockSize finished Z ctx (Lio/netty/channel/ChannelHandlerContext; ()V Code LineNumberTable LocalVariableTable this 4Lio/netty/handler/codec/compression/Lz4FrameEncoder; (Z)V highCompressor 9(Lnet/jpountz/lz4/LZ4Factory;ZILjava/util/zip/Checksum;)V factory Lnet/jpountz/lz4/LZ4Factory;
StackMapTable%'() (I)I encode ](Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V tail in out length#
Exceptions* flushBufferedData (Lio/netty/buffer/ByteBuf;)V outNioBuffer Ljava/nio/ByteBuffer; pos compressedLength e Lnet/jpountz/lz4/LZ4Exception; blockType check idx ? finishEncode k(Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; footer promise !Lio/netty/channel/ChannelPromise;+ cleanup isClosed ()Z close "()Lio/netty/channel/ChannelFuture; C(Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; executor (Lio/netty/util/concurrent/EventExecutor;,- L(Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)V f Lio/netty/channel/ChannelFuture;. *()Lio/netty/channel/ChannelHandlerContext; handlerAdded +(Lio/netty/channel/ChannelHandlerContext;)V handlerRemoved V(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Lio/netty/buffer/ByteBuf;)V
access$000 ^(Lio/netty/handler/codec/compression/Lz4FrameEncoder;)Lio/netty/channel/ChannelHandlerContext; x0
access$100 ?(Lio/netty/handler/codec/compression/Lz4FrameEncoder;Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; x1 x2 Signature HLio/netty/handler/codec/MessageToByteEncoder;
SourceFile Lz4FrameEncoder.java ? ? s ? u |'/01/234567 u ~ u v java/lang/NullPointerException u8 }9:9 h i j k l ? l g f g o g); ? p g q r "java/lang/IllegalArgumentException blockSize: %d (expected: %d-%d) java/lang/Object<=>?@AB ?CDEFGHI m nJIKILM ? ?NOPQ(R vSTUIVWXYZO[I\I]^_`Iab net/jpountz/lz4/LZ4Exception 7io/netty/handler/codec/compression/CompressionException ucdMefghih[Ojkl,mnopOqhrs ? vt ?ul ? ? ?v-w ? 4io/netty/handler/codec/compression/Lz4FrameEncoder$1 uxyz 4io/netty/handler/codec/compression/Lz4FrameEncoder$2 u{.|}~ ? 4io/netty/handler/codec/compression/Lz4FrameEncoder$3???? s t java/lang/IllegalStateException not added to a pipeline??? ? ? io/netty/buffer/ByteBuf ? ? 2io/netty/handler/codec/compression/Lz4FrameEncoder +io/netty/handler/codec/MessageToByteEncoder net/jpountz/lz4/LZ4Factory java/util/zip/Checksum net/jpountz/lz4/LZ4Compressor java/lang/Exception java/lang/Throwable &io/netty/channel/ChannelHandlerContext &io/netty/util/concurrent/EventExecutor io/netty/channel/ChannelFuture fastestInstance ()Lnet/jpountz/lz4/LZ4Factory; net/jpountz/xxhash/XXHashFactory $()Lnet/jpountz/xxhash/XXHashFactory; newStreamingHash32 )(I)Lnet/jpountz/xxhash/StreamingXXHash32; $net/jpountz/xxhash/StreamingXXHash32
asChecksum ()Ljava/util/zip/Checksum; (Ljava/lang/String;)V !()Lnet/jpountz/lz4/LZ4Compressor; fastCompressor maxCompressedLength java/lang/Integer valueOf (I)Ljava/lang/Integer; java/lang/String format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; numberOfLeadingZeros java/lang/Math max (II)I
writeBytes 4(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
readableBytes ()I capacity readerIndex getBytes 7(ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf; skipBytes (I)Lio/netty/buffer/ByteBuf; readBytes 6(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf; reset array ()[B arrayOffset update ([BII)V getValue ()J ensureWritable writerIndex
writableBytes internalNioBuffer (II)Ljava/nio/ByteBuffer; java/nio/ByteBuffer position compress -(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)V (Ljava/lang/Throwable;)V setBytes setLong (IJ)Lio/netty/buffer/ByteBuf; setByte (II)Lio/netty/buffer/ByteBuf; setIntLE io/netty/channel/ChannelPromise
setSuccess #()Lio/netty/channel/ChannelPromise; alloc $()Lio/netty/buffer/ByteBufAllocator; io/netty/buffer/ByteBufAllocator
heapBuffer setInt
writeAndFlush U(Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; release
newPromise *()Lio/netty/util/concurrent/EventExecutor; inEventLoop X(Lio/netty/handler/codec/compression/Lz4FrameEncoder;Lio/netty/channel/ChannelPromise;)V execute (Ljava/lang/Runnable;)V ?(Lio/netty/handler/codec/compression/Lz4FrameEncoder;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; io/netty/buffer/Unpooled
wrappedBuffer ([B)Lio/netty/buffer/ByteBuf; ! b c f g h i j k l g m n o g p g B q r B s t u v w 4 *? ? x
i j y z { u | w N *? ? ? ? ?
? x
u w y z { } r u ~ w a*? +?
? Y
? ??
? Y? ?*?
+? ? +? ? *? *? ? *? *? **? ? `? *? ? x 6
? ? ? ? ? ! ? 4 ? : ? B ? G ? L ? [ ? ` ? y 4 a z { a ? a } r a f g a j k ? 1 ? ? ? ? K ?? ? ? ? ? ?
l ? w ? I@? ? +? Y? Y? SY@? SY? S? ? !? d? "d<
d? #<? x ? ? 4 ? > ? G ? y I f g > l g ? ' ? ? w @ |*? ?
-,? $W?,? %6*? &:? '6*? `? 9*? d6,,? (*? ? )W*? *-? *,? +Wd6???,*? ? ,W*Y? `? ? x F ? ?
? ? ? ? ! ? - ? 6 ? G ? M ? R ? Y ? ` ? c ? p ? { ? y R 6 * ? g | z { | s t | ? n | ? n h ? g b m n ! [ f g ? ? ?? A ? ? ? ? w 8 *? =? ?*? ? - *? *? &? .*? &? /? 0 *? ? 1 ?>+*? ? 2W+? 36+`+? 4d? 5:? 66*? *? &? 5? 7? 6d6? :? 9Y? :?? 66+`*? &? ;W? 6+