com.groupbyinc.flux.common.netty.buffer.Unpooled.class Maven / Gradle / Ivy
???? 2? 0com/groupbyinc/flux/common/netty/buffer/Unpooled java/lang/Object
Unpooled.java ALLOC :Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;
BIG_ENDIAN Ljava/nio/ByteOrder;
LITTLE_ENDIAN EMPTY_BUFFER 1Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; $assertionsDisabled Z buffer 3()Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; 8com/groupbyinc/flux/common/netty/buffer/ByteBufAllocator
heapBuffer directBuffer 4(I)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; initialCapacity I 5(II)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; " # maxCapacity " &
wrappedBuffer 5([B)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; * ;com/groupbyinc/flux/common/netty/buffer/UnpooledHeapByteBuf , @(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;[BI)V . /
- 0 array [B 7([BII)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; ( )
5 /com/groupbyinc/flux/common/netty/buffer/ByteBuf 7 slice 9 "
8 : offset length H(Ljava/nio/ByteBuffer;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; java/nio/ByteBuffer ? hasRemaining ()Z A B
@ C isDirect E B
@ F hasArray H B
@ I ()[B 2 K
@ L arrayOffset ()I N O
@ P position R O
@ S remaining U O
@ V ( 4
X order ()Ljava/nio/ByteOrder; Z [
@ \ G(Ljava/nio/ByteOrder;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; Z ^
8 _ @com/groupbyinc/flux/common/netty/util/internal/PlatformDependent a hasUnsafe c B
b d
isReadOnly f B
@ g Ccom/groupbyinc/flux/common/netty/buffer/ReadOnlyUnsafeDirectByteBuf i R(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;Ljava/nio/ByteBuffer;)V . k
j l =com/groupbyinc/flux/common/netty/buffer/ReadOnlyByteBufferBuf n
o l Ccom/groupbyinc/flux/common/netty/buffer/UnpooledUnsafeDirectByteBuf q S(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;Ljava/nio/ByteBuffer;I)V . s
r t =com/groupbyinc/flux/common/netty/buffer/UnpooledDirectByteBuf v
w t Ljava/nio/ByteBuffer; 6(JIZ)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; Jcom/groupbyinc/flux/common/netty/buffer/WrappedUnpooledUnsafeDirectByteBuf { @(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;JIZ)V . }
| ~
memoryAddress J size doFree d(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;
isReadable ? B
8 ? 9
8 ? release ? B
8 ? 6([[B)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; 7(I[[B)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; ( ?
? arrays [[B e([Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; f(I[Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; ( ?
? buffers 2[Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; I([Ljava/nio/ByteBuffer;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; J(I[Ljava/nio/ByteBuffer;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; ( ?
? [Ljava/nio/ByteBuffer; java/util/ArrayList ? (I)V . ?
? ? ? java/util/List ? 3 add (Ljava/lang/Object;)Z ? ? ? ? isEmpty ? B ? ? 8com/groupbyinc/flux/common/netty/buffer/CompositeByteBuf ? S(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;ZILjava/lang/Iterable;)V . ?
? ? a
components CLjava/util/List; Ljava/util/List; maxNumComponents ? ( ?
? s(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;ZI[Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;II)V . ?
? ? buf i +(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer; Z ?
@ ? ( >
? ? b compositeBuffer <()Lcom/groupbyinc/flux/common/netty/buffer/CompositeByteBuf; =(I)Lcom/groupbyinc/flux/common/netty/buffer/CompositeByteBuf; ? ?
? ?(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;ZI)V . ?
? ? copiedBuffer clone ()Ljava/lang/Object; ? ?
? ? java/lang/System ? arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V ? ?
? ? copy duplicate ()Ljava/nio/ByteBuffer; ? ?
@ ? get ([B)Ljava/nio/ByteBuffer; ? ?
@ ?
readableBytes ? O
8 ?
? readerIndex ? O
8 ?
writeBytes f(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;II)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; ? ?
8 ? readable ? )
???? "java/lang/IllegalArgumentException ? 4The total length of the specified arrays is too big. ? (Ljava/lang/String;)V . ?
? ? j mergedArray ? ?
? ? java/nio/ByteOrder 5The total length of the specified buffers is too big.
8 \ equals ?
inconsistent byte order getBytes 8(I[BII)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;
8 bLen ? >
([BII)Ljava/nio/ByteBuffer; ?
@ e(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; java/lang/NullPointerException string
? java/nio/CharBuffer b(Ljava/nio/CharBuffer;Ljava/nio/charset/Charset;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; ?
wrap /(Ljava/lang/CharSequence;)Ljava/nio/CharBuffer;
! Ljava/lang/CharSequence; charset Ljava/nio/charset/Charset; g(Ljava/lang/CharSequence;IILjava/nio/charset/Charset;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;
I ()[C 2(
)
P
S Q([CIILjava/nio/charset/Charset;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; ?-
. ()Ljava/nio/CharBuffer; 90
1 limit (I)Ljava/nio/Buffer;34
5 R4
7 1(Ljava/lang/CharSequence;II)Ljava/nio/CharBuffer;9
: Ljava/nio/CharBuffer; O([CLjava/nio/charset/Charset;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; 2 [C ([CII)Ljava/nio/CharBuffer;@
A 3com/groupbyinc/flux/common/netty/buffer/ByteBufUtilC
encodeString0 ?(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;ZLjava/nio/CharBuffer;Ljava/nio/charset/Charset;I)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;EF
DG unmodifiableBuffer Ljava/lang/Deprecated; 7com/groupbyinc/flux/common/netty/buffer/ReadOnlyByteBufK 4(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)V .M
LN
P
L _
endianness copyInt writeIntU
8V value 5([I)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; [IZ v values copyShort
writeShort_
8` 5([S)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; [Sc
copyMedium writeMediumf
8g copyLong 4(J)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; writeLongkj
8l 5([J)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; [Jo copyBoolean 4(Z)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; writeBooleansr
8t 5([Z)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; [Zw copyFloat 4(F)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;
writeFloat{z
8| F 5([F)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; [F?
copyDouble 4(D)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; writeDouble??
8? D 5([D)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; [D? unreleasableBuffer ;com/groupbyinc/flux/common/netty/buffer/UnreleasableByteBuf?
?N =com/groupbyinc/flux/common/netty/buffer/FixedCompositeByteBuf? o(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;[Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)V .?
?? ()V .?
? this 2Lcom/groupbyinc/flux/common/netty/buffer/Unpooled; java/lang/Class? desiredAssertionStatus? B
??
? @com/groupbyinc/flux/common/netty/buffer/UnpooledByteBufAllocator? DEFAULT BLcom/groupbyinc/flux/common/netty/buffer/UnpooledByteBufAllocator;?? ?? ? P " ? 4com/groupbyinc/flux/common/netty/buffer/EmptyByteBuf? java/lang/AssertionError? %EMPTY_BUFFER must be an EmptyByteBuf.? (Ljava/lang/Object;)V .?
?? Code LineNumberTable LocalVariableTable
StackMapTable LocalVariableTypeTable
Deprecated RuntimeVisibleAnnotations
SourceFile 1
3 ? ! ? ? ? ? c ? ! ? ? ? ? k ? 4
? ? ? ?
? t ? 4
? ? ! ? ?
? } " ? ? ? ? $ ? ? % ? ? " ? ? ? ? ' ? ? % ? ? ( ) ? R *?? ? +?? -Y? **?? 1? ? 2 3 ? ? ? ?? ( 4 ? y !? ? +?? *?? *? 6?*? 6? ;? ? ! 2 3 ! <