com.groupbyinc.flux.transport.netty4.ByteBufStreamInput.class Maven / Gradle / Ivy
???? 4 ? 7com/groupbyinc/flux/transport/netty4/ByteBufStreamInput 0com/groupbyinc/flux/common/io/stream/StreamInput ByteBufStreamInput.java buffer Lio/netty/buffer/ByteBuf;
startIndex I endIndex (Lio/netty/buffer/ByteBuf;I)V ()V
io/netty/buffer/ByteBuf
readableBytes ()I
#java/lang/IndexOutOfBoundsException
readerIndex
markReaderIndex ()Lio/netty/buffer/ByteBuf; " #
$ this 9Lcom/groupbyinc/flux/transport/netty4/ByteBufStreamInput; length readBytesReference 4(I)Lcom/groupbyinc/flux/common/bytes/BytesReference; java/io/IOException + slice (II)Lio/netty/buffer/ByteBuf; - .
/ 0com/groupbyinc/flux/transport/netty4/Netty4Utils 1 toBytesReference L(Lio/netty/buffer/ByteBuf;)Lcom/groupbyinc/flux/common/bytes/BytesReference; 3 4
2 5 skipBytes (I)Lio/netty/buffer/ByteBuf; 7 8
9 ref 1Lcom/groupbyinc/flux/common/bytes/BytesReference; readBytesRef ;(I)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; hasArray ()Z ? @
A = >
C 6com/groupbyinc/flux/common/apache/lucene/util/BytesRef E array ()[B G H
I arrayOffset K
L ([BII)V N
F O bytesRef 8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; available ensureCanReadBytes (I)V java/io/EOFException V java/lang/StringBuilder X
Y tried to read: [ append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ] ^
Y _ (I)Ljava/lang/StringBuilder; ] a
Y b bytes but only d
remaining f toString ()Ljava/lang/String; h i
Y j (Ljava/lang/String;)V l
W m bytesAvailable mark readlimit
markSupported read S
t readByte ()B v w
x ([BII)I java/lang/Math { min (II)I } ~
| readBytes ([BII)Lio/netty/buffer/ByteBuf; ? ?
? b [B off len reset resetReaderIndex ? #
? skip (J)J ?????? (I)I 7 ?
? n J nBytes s z
? offset close Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile
? ? 1*? +? ? ? Y? ?*+? *+? ? **? `? !+? %W? ? 1 &