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 1Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; endIndex I 5(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;I)V ()V
/com/groupbyinc/flux/common/netty/buffer/ByteBuf
readableBytes ()I
#java/lang/IndexOutOfBoundsException
readerIndex
markReaderIndex 3()Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;
! this 9Lcom/groupbyinc/flux/transport/netty4/ByteBufStreamInput; length
startIndex readBytesReference 4(I)Lcom/groupbyinc/flux/common/bytes/BytesReference; java/io/IOException ) ' (
+ readBytesRef ;(I)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; - .
/ available ensureCanReadBytes (I)V java/io/EOFException 4 java/lang/StringBuilder 6
7
tried to read: 9 append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ; <
7 = (I)Ljava/lang/StringBuilder; ; ?
7 @ bytes but only B
remaining D toString ()Ljava/lang/String; F G
7 H (Ljava/lang/String;)V
J
5 K bytesAvailable mark readlimit
markSupported ()Z read 1
S readByte ()B U V
W ([BII)I java/lang/Math Z min (II)I \ ]
[ ^ readBytes 7([BII)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; ` a
b b [B off len reset resetReaderIndex i
j skip (J)J ?????? skipBytes (I)I q r
s n J 4(I)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; q w
x nBytes ([BII)V R Y
| offset close Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile
? ? +*? +? ? ? Y? ?*+? +? >*`? +? "W? ? * + # $ + + %
&