![JAR search and dependency download from the Maven repository](/logo.png)
classes.io.netty.handler.codec.compression.SnappyFrameEncoder.class Maven / Gradle / Ivy
The newest version!
???? 2 ?
$ Q R
Q
S
" T
U
V
" W
" X Y
" Z
" [
\
" ] ^
_
`
a
" b
c
" d e f
Q g
h
i
j
k
" l
" m
n
" o p
q r MIN_COMPRESSIBLE_LENGTH I
ConstantValue STREAM_START [B snappy +Lio/netty/handler/codec/compression/Snappy; started Z ()V Code LineNumberTable LocalVariableTable this 7Lio/netty/handler/codec/compression/SnappyFrameEncoder; encode ](Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V slice Lio/netty/buffer/ByteBuf; lengthIdx ctx (Lio/netty/channel/ChannelHandlerContext; in out
dataLength
StackMapTable
Exceptions s writeUnencodedChunk 6(Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;I)V setChunkLength (Lio/netty/buffer/ByteBuf;I)V chunkLength writeChunkLength calculateAndWriteChecksum 5(Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V V(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Lio/netty/buffer/ByteBuf;)V Signature HLio/netty/handler/codec/MessageToByteEncoder;
SourceFile SnappyFrameEncoder.java / 0 )io/netty/handler/codec/compression/Snappy + , t u - . ) * v w x y 5io/netty/handler/codec/compression/SnappyFrameEncoder z y { | C D } | java/lang/Short I J 6 D E F ~ | H F v 7io/netty/handler/codec/compression/CompressionException java/lang/StringBuilder compressed data too large: ? ? ? ? ? ? / ? ? ? ? | ? ? ? | io/netty/buffer/ByteBuf 6 7 +io/netty/handler/codec/MessageToByteEncoder java/lang/Exception
isReadable ()Z
writeBytes ([B)Lio/netty/buffer/ByteBuf;
readableBytes ()I writerIndex readSlice (I)Lio/netty/buffer/ByteBuf; writeInt writeByte 5(Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; (Ljava/lang/String;)V setMediumLE (II)Lio/netty/buffer/ByteBuf;
writeMediumLE calculateChecksum (Lio/netty/buffer/ByteBuf;)I
writeIntLE !
$ % &