![JAR search and dependency download from the Maven repository](/logo.png)
classes.io.netty.buffer.CompositeByteBuf.class Maven / Gradle / Ivy
The newest version!
???? 2? T?????
^??k
???
??
?
??
?
? T? T T
T
T
T
T
T
T
T
T
T
T
T
T
T
T T?
?
T T
.?
T
T
T
"
T!
T" "#
"$ T%
^& T'
^()
<?
^*
^+,-
^./
C01 E234
^ 56
^7
"8
T9
T:
;< "=c>c?
^@A
TB
TC "D
^E
"F "G
"0
"H
TIJ_KLMLN
TO
TPQRS
#T
UV
d?W TX
TY TZ[
n\]
p^
^_ "2
p`
^a
bc
^d
bef
y?gh
^i
^j kl
^mn
??
^o pq
^r
^s
Tt
Tu
^v
"w
"x
T*
Tyz{
??
T|
^}
T~
^
T?
T?
^?
^?
T? ??
^?
T?
^?
^?
^?
T? ????
^?
T?
T?
^?
??
??
??
??
^?
^?
T?
T???
T??? ???
??
^?
^?
T?
^?
T?
^?
T?
^?
^?
T?
T?
^?
^?
T?
^?
^?
T?
T?
^?
^?
^?
??
^? T???
^?
??
^?
T?
^?
"?
"?
T?
^?
"?
^?
??
??
??
???
??
?h
^?
b?
??|
??
"?
T@
T?
T? "?
T?????
^?
U
U??
?
^?
^?
^v
^?
^?
^?
^?
^?
^?
^?
T?
T?
T?
T?
T?
??
T?
??
T?
^?
T?
^?
^?
^?
^?
^?
^?
^?
T?
T?
^?
^?
^?
^?
^?
^?
^?
^?
^?
^?
^E
T+
T? T?
s
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T!
T"
T#
T$
T%
T&
T'
T(
T)
T*
T+
T,
T-
T.
T/
T0
T1
T2
T3
T4
T5
T6
T7
T8
9:
^;gK<
X? T=>
[? T?@A CompositeByteBufIterator InnerClasses ComponentB ByteWrapper EMPTY_NIO_BUFFER Ljava/nio/ByteBuffer; EMPTY_ITERATOR Ljava/util/Iterator; Signature /Ljava/util/Iterator; alloc "Lio/netty/buffer/ByteBufAllocator; direct Z maxNumComponents I componentCount
components -[Lio/netty/buffer/CompositeByteBuf$Component; freed BYTE_ARRAY_WRAPPER .Lio/netty/buffer/CompositeByteBuf$ByteWrapper; 2Lio/netty/buffer/CompositeByteBuf$ByteWrapper<[B>; BYTE_BUFFER_WRAPPER ELio/netty/buffer/CompositeByteBuf$ByteWrapper; lastAccessed ,Lio/netty/buffer/CompositeByteBuf$Component; $assertionsDisabled ((Lio/netty/buffer/ByteBufAllocator;ZII)V Code LineNumberTable LocalVariableTable this "Lio/netty/buffer/CompositeByteBuf; initSize
StackMapTableAC '(Lio/netty/buffer/ByteBufAllocator;ZI)V A(Lio/netty/buffer/ByteBufAllocator;ZI[Lio/netty/buffer/ByteBuf;)V buffers [Lio/netty/buffer/ByteBuf; B(Lio/netty/buffer/ByteBufAllocator;ZI[Lio/netty/buffer/ByteBuf;I)V offset ;(Lio/netty/buffer/ByteBufAllocator;ZILjava/lang/Iterable;)V Ljava/lang/Iterable; LocalVariableTypeTable /Ljava/lang/Iterable;A V(Lio/netty/buffer/ByteBufAllocator;ZILjava/lang/Iterable;)V i(Lio/netty/buffer/ByteBufAllocator;ZILio/netty/buffer/CompositeByteBuf$ByteWrapper;[Ljava/lang/Object;I)V wrapper [Ljava/lang/Object; 3Lio/netty/buffer/CompositeByteBuf$ByteWrapper; [TT; u(Lio/netty/buffer/ByteBufAllocator;ZILio/netty/buffer/CompositeByteBuf$ByteWrapper;[TT;I)V newCompArray 1(II)[Lio/netty/buffer/CompositeByteBuf$Component; initComponents
capacityGuess %(Lio/netty/buffer/ByteBufAllocator;)V addComponent =(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/CompositeByteBuf; buffer Lio/netty/buffer/ByteBuf;
addComponents >([Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/CompositeByteBuf; 8(Ljava/lang/Iterable;)Lio/netty/buffer/CompositeByteBuf; S(Ljava/lang/Iterable;)Lio/netty/buffer/CompositeByteBuf; >(ILio/netty/buffer/ByteBuf;)Lio/netty/buffer/CompositeByteBuf; cIndex >(ZLio/netty/buffer/ByteBuf;)Lio/netty/buffer/CompositeByteBuf; increaseWriterIndex ?(Z[Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/CompositeByteBuf; 9(ZLjava/lang/Iterable;)Lio/netty/buffer/CompositeByteBuf; T(ZLjava/lang/Iterable;)Lio/netty/buffer/CompositeByteBuf; ?(ZILio/netty/buffer/ByteBuf;)Lio/netty/buffer/CompositeByteBuf;
addComponent0 (ZILio/netty/buffer/ByteBuf;)I c
readableBytes wasAddedJD ensureAccessible 4(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf; buf newComponent H(Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/CompositeByteBuf$Component; srcIndex len unwrapped unwrappedIndex slice ?(I[Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/CompositeByteBuf; addComponents0 A(ZI[Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/CompositeByteBuf; b
nextOffset arrOffset count ci? G(ZILio/netty/buffer/CompositeByteBuf$ByteWrapper;[Ljava/lang/Object;I)I size Ljava/lang/Object; i TT;S S(ZILio/netty/buffer/CompositeByteBuf$ByteWrapper;[TT;I)I 9(ILjava/lang/Iterable;)Lio/netty/buffer/CompositeByteBuf; T(ILjava/lang/Iterable;)Lio/netty/buffer/CompositeByteBuf; addFlattenedComponents component
compOffset fromIdx toIdx cidx newOffset ridx widx from fromComponents compCountBefore writerIndexBefore :(ZILjava/lang/Iterable;)Lio/netty/buffer/CompositeByteBuf;
increaseIndex itE U(ZILjava/lang/Iterable;)Lio/netty/buffer/CompositeByteBuf; consolidateIfNeeded ()V checkComponentIndex (I)V (II)V
numComponents updateComponentOffsets nextIndex removeComponent %(I)Lio/netty/buffer/CompositeByteBuf; comp removeComponents &(II)Lio/netty/buffer/CompositeByteBuf; endIndex needsUpdate iterator ()Ljava/util/Iterator; 1()Ljava/util/Iterator; forEachByteAsc0 "(IILio/netty/util/ByteProcessor;)I s
localStart localLength result length start end processor Lio/netty/util/ByteProcessor;F
ExceptionsG forEachByteDesc0 localRStart
localIndex rStart rEnd decompose (II)Ljava/util/List; componentId bytesToSlice firstC sliceList Ljava/util/List; +Ljava/util/List;H /(II)Ljava/util/List; isDirect ()Z hasArray array ()[B arrayOffset ()I hasMemoryAddress
memoryAddress ()J capacity
paddingLength padding cLength bytesToTrim newCapacity oldCapacity $()Lio/netty/buffer/ByteBufAllocator; order ()Ljava/nio/ByteOrder; toComponentIndex (I)I toComponentIndex0 mid low high toByteIndex getByte (I)B index _getByte _getShort (I)S _getShortLE _getUnsignedMedium _getUnsignedMediumLE _getInt _getIntLE _getLong (I)J
_getLongLE getBytes )(I[BII)Lio/netty/buffer/CompositeByteBuf; dst [B dstIndex :(ILjava/nio/ByteBuffer;)Lio/netty/buffer/CompositeByteBuf; limit @(ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/CompositeByteBuf; -(ILjava/nio/channels/GatheringByteChannel;I)I writtenBytes J out (Ljava/nio/channels/GatheringByteChannel;I %(ILjava/nio/channels/FileChannel;JI)I Ljava/nio/channels/FileChannel; positionJ <(ILjava/io/OutputStream;I)Lio/netty/buffer/CompositeByteBuf; Ljava/io/OutputStream; setByte value _setByte setShort _setShort _setShortLE setMedium
_setMedium _setMediumLE setInt _setInt _setIntLE setLong &(IJ)Lio/netty/buffer/CompositeByteBuf; _setLong (IJ)V
_setLongLE setBytes src (ILjava/io/InputStream;I)I localReadBytes in Ljava/io/InputStream; readBytes .(ILjava/nio/channels/ScatteringByteChannel;I)I )Ljava/nio/channels/ScatteringByteChannel; copy (II)Lio/netty/buffer/ByteBuf; copyTo (IIILio/netty/buffer/ByteBuf;)V (I)Lio/netty/buffer/ByteBuf; componentAtOffset internalComponent internalComponentAtOffset
findComponent /(I)Lio/netty/buffer/CompositeByteBuf$Component; la findComponent0 findIt nioBufferCount internalNioBuffer (II)Ljava/nio/ByteBuffer; nioBuffer [Ljava/nio/ByteBuffer; merged?
nioBuffers (II)[Ljava/nio/ByteBuffer; ,Lio/netty/util/internal/RecyclableArrayList;K consolidate $()Lio/netty/buffer/CompositeByteBuf; consolidate0 endCIndex startOffset consolidated discardReadComponents readerIndex writerIndex firstComponentId discardReadBytes trimmedBytes allocBuffer toString ()Ljava/lang/String; Ljava/lang/String; setIndex clear markReaderIndex resetReaderIndex markWriterIndex resetWriterIndex ensureWritable minWritableBytes ?(ILio/netty/buffer/ByteBuf;I)Lio/netty/buffer/CompositeByteBuf; '(I[B)Lio/netty/buffer/CompositeByteBuf;
setBoolean &(IZ)Lio/netty/buffer/CompositeByteBuf; setChar setFloat &(IF)Lio/netty/buffer/CompositeByteBuf; F setDouble &(ID)Lio/netty/buffer/CompositeByteBuf; D setZero >(Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/CompositeByteBuf; ?(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/CompositeByteBuf; &([B)Lio/netty/buffer/CompositeByteBuf; (([BII)Lio/netty/buffer/CompositeByteBuf; 9(Ljava/nio/ByteBuffer;)Lio/netty/buffer/CompositeByteBuf; ;(Ljava/io/OutputStream;I)Lio/netty/buffer/CompositeByteBuf; skipBytes writeBoolean %(Z)Lio/netty/buffer/CompositeByteBuf; writeByte
writeShort writeMedium writeInt writeLong %(J)Lio/netty/buffer/CompositeByteBuf; writeChar
writeFloat %(F)Lio/netty/buffer/CompositeByteBuf; writeDouble %(D)Lio/netty/buffer/CompositeByteBuf;
writeBytes writeZero retain increment touch 6(Ljava/lang/Object;)Lio/netty/buffer/CompositeByteBuf; hint ()[Ljava/nio/ByteBuffer; discardSomeReadBytes
deallocate isAccessible unwrap ()Lio/netty/buffer/ByteBuf;
clearComps
removeComp removeCompRange to newSize addComp 0(ILio/netty/buffer/CompositeByteBuf$Component;)V
shiftComps newArr
newArrSize -(Ljava/lang/Object;)Lio/netty/buffer/ByteBuf; 0(Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf; 6(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf; 5(Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf; ([B)Lio/netty/buffer/ByteBuf; ([BII)Lio/netty/buffer/ByteBuf; (D)Lio/netty/buffer/ByteBuf; (F)Lio/netty/buffer/ByteBuf; (J)Lio/netty/buffer/ByteBuf; (Z)Lio/netty/buffer/ByteBuf; 2(Ljava/io/OutputStream;I)Lio/netty/buffer/ByteBuf; 6(ILio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf; 5(ILio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf; (I[B)Lio/netty/buffer/ByteBuf; (ID)Lio/netty/buffer/ByteBuf; (IJ)Lio/netty/buffer/ByteBuf; (IF)Lio/netty/buffer/ByteBuf; (IZ)Lio/netty/buffer/ByteBuf; 1(ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf; (I[BII)Lio/netty/buffer/ByteBuf; 7(ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf; 3(ILjava/io/OutputStream;I)Lio/netty/buffer/ByteBuf; 4(Ljava/lang/Object;)Lio/netty/util/ReferenceCounted; "()Lio/netty/util/ReferenceCounted; #(I)Lio/netty/util/ReferenceCounted;
access$200 Q(Lio/netty/buffer/CompositeByteBuf;)[Lio/netty/buffer/CompositeByteBuf$Component; x0 `Lio/netty/buffer/AbstractReferenceCountedByteBuf;Ljava/lang/Iterable;
SourceFile CompositeByteBuf.javars (io/netty/buffer/AbstractByteBufAllocator}? java/lang/NullPointerException}L "java/lang/IllegalArgumentException java/lang/StringBuilder}? maxNumComponents: MNMO (expected: >= 1)??klmnop??}~}?????P? java/util/Collection???????QRSTS *io/netty/buffer/CompositeByteBuf$Component java/lang/Integer????????qpUVW??|n java/lang/AssertionError???????????XpY??pZ[n? ,io/netty/util/IllegalReferenceCountException?? io/netty/buffer/WrappedByteBuf io/netty/buffer/SwappedByteBuf?? -io/netty/buffer/AbstractUnpooledSlicedByteBuf\) #io/netty/buffer/PooledSlicedByteBuf]p !io/netty/buffer/DuplicatedByteBuf 'io/netty/buffer/PooledDuplicatedByteBuf^_`&a}b????cde?pfgh?? io/netty/buffer/CompositeByteBufi?*)j???k)??l??? io/netty/buffer/ByteBuf??Emno???? #java/lang/IndexOutOfBoundsException 3cIndex: %d (expected: >= 0 && <= numComponents(%d)) java/lang/Objectpqrst icIndex: %d, numComponents: %d (expected: cIndex >= 0 && cIndex + numComponents <= totalNumComponents(%d))z{??gh 9io/netty/buffer/CompositeByteBuf$CompositeByteBufIterator}u io/netty/buffer/AbstractByteBuf??v??w?xyz?l{| java/util/ArrayListH}g~@ 'java/lang/UnsupportedOperationException??????o?l????i? java/lang/Error should not reach herest/0vt?4&'20?4?)34?)54?)?)?;8)?;9)??=?C?MC?=?=?xyz??????J??=?QlU?TlS??lX?Wl?lV?[?Zl?l_`]???\???b?b?b????bdef???bi??bKmn?o????wt{z??&????? java/nio/ByteBufferK??????????????pk%C?o?o??
, components=M??o???????????o?=?=D=>Q?T????Z????]^b?b>?lh?h?h?h?h??o?????o?o?o???????????o?o??tn??????????????????????????????????????????????h?h?h?h?h?h?h???b?b?b?????W?????=?=?????????????????????bBbD=O=B???{? "io/netty/buffer/CompositeByteBuf$1uv "io/netty/buffer/CompositeByteBuf$2xv /io/netty/buffer/AbstractReferenceCountedByteBuf java/lang/Iterable ,io/netty/buffer/CompositeByteBuf$ByteWrapper io/netty/buffer/ByteBufAllocator java/lang/Throwable java/util/Iterator io/netty/util/ByteProcessor java/lang/Exception java/util/List java/io/IOException java/nio/channels/FileChannel *io/netty/util/internal/RecyclableArrayList (Ljava/lang/String;)V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; setIndex0 java/lang/Math min (II)I max !io/netty/util/internal/ObjectUtil checkNotNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; endOffset
reposition release checkAccessible idx
adjustment java/nio/ByteOrder
BIG_ENDIAN Ljava/nio/ByteOrder; /(Ljava/nio/ByteOrder;)Lio/netty/buffer/ByteBuf; R(Lio/netty/buffer/ByteBuf;ILio/netty/buffer/ByteBuf;IIILio/netty/buffer/ByteBuf;)V io/netty/util/ReferenceCountUtil safeRelease (Ljava/lang/Object;)V isEmpty (Ljava/lang/Object;)Z wrap
checkIndex srcBuf srcIdx free hasNext next ()Ljava/lang/Object; valueOf (I)Ljava/lang/Integer; java/lang/String format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; I(Lio/netty/buffer/CompositeByteBuf;Lio/netty/buffer/CompositeByteBuf$1;)V forEachByte forEachByteDesc java/util/Collections emptyList ()Ljava/util/List;
singletonList $(Ljava/lang/Object;)Ljava/util/List; add "io/netty/util/internal/EmptyArrays EMPTY_BYTES io/netty/buffer/Unpooled EMPTY_BUFFER checkNewCapacity
access$100 G(Lio/netty/buffer/CompositeByteBuf$Component;)Lio/netty/buffer/ByteBuf;
access$102 `(Lio/netty/buffer/CompositeByteBuf$Component;Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf; getShort
getShortLE getUnsignedMedium getUnsignedMediumLE getInt getIntLE getLong getLongLE
checkDstIndex (IIII)V remaining (I)Ljava/nio/Buffer; &java/nio/channels/GatheringByteChannel write (Ljava/nio/ByteBuffer;)I ([Ljava/nio/ByteBuffer;)J (Ljava/nio/ByteBuffer;J)I
setShortLE setMediumLE setIntLE setLongLE
checkSrcIndex java/io/InputStream read ([B)I 'java/nio/channels/ScatteringByteChannel duplicate allocate (I)Ljava/nio/ByteBuffer; +(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer; put ,(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer; flip ()Ljava/nio/Buffer; newInstance /(I)Lio/netty/util/internal/RecyclableArrayList; addAll ,(Ljava/util/Collection;[Ljava/lang/Object;)Z toArray (([Ljava/lang/Object;)[Ljava/lang/Object; recycle
transferTo (Lio/netty/buffer/ByteBuf;)V
adjustMarkers
srcAdjustment directBuffer
heapBuffer substring (II)Ljava/lang/String; (C)Ljava/lang/StringBuilder;
writableBytes java/lang/Float floatToRawIntBits (F)I java/lang/Double doubleToRawLongBits (D)J ensureWritable0 java/lang/System arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V java/util/Arrays copyOf :([Ljava/lang/Object;ILjava/lang/Class;)[Ljava/lang/Object; java/lang/Class desiredAssertionStatus ()Ljava/nio/ByteBuffer; ! T^ _ ef gh i j kl mn op qp rs tn uv i w xv i y z{ |n ? }~ ? S*? +?
? Y? ?? #? Y? Y?
? ?
? ? ? ?*+? *? *? *? ? ? ? *
? @
A C D 9 G > H C I H J R K? 4 S?? Skl Smn Sop S?p ? ? ?? $ }? U *+? ? ?
N O? * ?? kl mn op ?}? a *+? ? ?
R
S? 4 ?? kl mn op ?? }? ? &*+?d? *? W*? **? ? ? ? W
Y Z [ % \? > &?? &kl &mn &op &?? &?p }? ? 1*+? ? ? ? ? ? *? W**? ? W? ? ` a ` c &