![JAR search and dependency download from the Maven repository](/logo.png)
classes.io.netty.buffer.Unpooled.class Maven / Gradle / Ivy
The newest version!
???? 2? t t
t
!
"
#
$
%
&
'
t(
)
*
+,
-.
/0
/1
23
24
!5
6
7
8
t9
t:
t; ?< ?=>
+? +@
tA tB
tC
+D +EF
tG
+H
IJ ?
+K
LM
N
O
P
tQ
R
S
tTU???VW
CX
tYZ
)
[\
]
t^
_` ?
NXa
tb
Qc
Q#
Qd
Q%
Q&
te
Qf
Qg
Qh
Qi ?
Qj
klm
`n to
`*
p
q
r
s
t
u
vw
kn
tx
y ?
z{|
q}
~
?? t? ?? ?B ?o????
|?? ALLOC "Lio/netty/buffer/ByteBufAllocator;
BIG_ENDIAN Ljava/nio/ByteOrder;
LITTLE_ENDIAN EMPTY_BUFFER Lio/netty/buffer/ByteBuf; $assertionsDisabled Z buffer ()Lio/netty/buffer/ByteBuf; Code LineNumberTable directBuffer (I)Lio/netty/buffer/ByteBuf; LocalVariableTable initialCapacity I (II)Lio/netty/buffer/ByteBuf; maxCapacity
wrappedBuffer ([B)Lio/netty/buffer/ByteBuf; array [B
StackMapTable ([BII)Lio/netty/buffer/ByteBuf; offset length 0(Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf; Ljava/nio/ByteBuffer; (JIZ)Lio/netty/buffer/ByteBuf;
memoryAddress J size doFree 4(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf; ([[B)Lio/netty/buffer/ByteBuf; arrays [[B 5([Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf; buffers [Lio/netty/buffer/ByteBuf; 1([Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf; [Ljava/nio/ByteBuffer;? ByteWrapper InnerClasses ](ILio/netty/buffer/CompositeByteBuf$ByteWrapper;[Ljava/lang/Object;)Lio/netty/buffer/ByteBuf; bytes Ljava/lang/Object; i len maxNumComponents wrapper .Lio/netty/buffer/CompositeByteBuf$ByteWrapper; [Ljava/lang/Object; LocalVariableTypeTable TT; 3Lio/netty/buffer/CompositeByteBuf$ByteWrapper; [TT;? Signature i(ILio/netty/buffer/CompositeByteBuf$ByteWrapper;[TT;)Lio/netty/buffer/ByteBuf; (I[[B)Lio/netty/buffer/ByteBuf; 6(I[Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf; buf? 2(I[Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf; compositeBuffer $()Lio/netty/buffer/CompositeByteBuf; %(I)Lio/netty/buffer/CompositeByteBuf; copiedBuffer copy duplicate readable a j mergedArray ? bLen b order? ?? M(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)Lio/netty/buffer/ByteBuf; string Ljava/lang/CharSequence; charset Ljava/nio/charset/Charset; O(Ljava/lang/CharSequence;IILjava/nio/charset/Charset;)Lio/netty/buffer/ByteBuf; Ljava/nio/CharBuffer;a 7([CLjava/nio/charset/Charset;)Lio/netty/buffer/ByteBuf; [C 9([CIILjava/nio/charset/Charset;)Lio/netty/buffer/ByteBuf; J(Ljava/nio/CharBuffer;Ljava/nio/charset/Charset;)Lio/netty/buffer/ByteBuf; unmodifiableBuffer
endianness
Deprecated RuntimeVisibleAnnotations Ljava/lang/Deprecated; copyInt value ([I)Lio/netty/buffer/ByteBuf; v values [I ? copyShort ([S)Lio/netty/buffer/ByteBuf; [S ?
copyMedium copyLong (J)Lio/netty/buffer/ByteBuf; ([J)Lio/netty/buffer/ByteBuf; [J ? copyBoolean (Z)Lio/netty/buffer/ByteBuf; ([Z)Lio/netty/buffer/ByteBuf; [Z ? copyFloat (F)Lio/netty/buffer/ByteBuf; F ([F)Lio/netty/buffer/ByteBuf; [F
copyDouble (D)Lio/netty/buffer/ByteBuf; D ([D)Lio/netty/buffer/ByteBuf; [D unreleasableBuffer wrappedUnmodifiableBuffer 6(Z[Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf; ()V this Lio/netty/buffer/Unpooled;
SourceFile
Unpooled.java ? ??? ? ? ?? ? ? ?? ? ? ? ? ? #io/netty/buffer/UnpooledHeapByteBuf? ? ??? ???????? ???????? ? ? ?? ??????? +io/netty/buffer/ReadOnlyUnsafeDirectByteBuf? %io/netty/buffer/ReadOnlyByteBufferBuf +io/netty/buffer/UnpooledUnsafeDirectByteBuf? %io/netty/buffer/UnpooledDirectByteBuf 2io/netty/buffer/WrappedUnpooledUnsafeDirectByteBuf???? ??? ? ? ? ? ? ????? io/netty/buffer/CompositeByteBuf?? ? ? ? ? ? ? ??? ? (io/netty/buffer/AbstractByteBufAllocator ? ?? ???????? ?????? ? ????? ? ? java/lang/Integer "java/lang/IllegalArgumentException 4The total length of the specified arrays is too big.? ? ? 5The total length of the specified buffers is too big.?? inconsistent byte order?? ? ??? java/lang/NullPointerException java/nio/CharBuffer ? ??? ?? ? ?????????????? io/netty/buffer/ReadOnlyByteBuf? ? ?? ?? ?? ?? ?? ?? ?? #io/netty/buffer/UnreleasableByteBuf
? ???? %io/netty/buffer/FixedCompositeByteBuf? io/netty/buffer/Unpooled??? ? ????? ? ? io/netty/buffer/EmptyByteBuf java/lang/AssertionError %EMPTY_BUFFER must be an EmptyByteBuf.? java/lang/Object ,io/netty/buffer/CompositeByteBuf$ByteWrapper io/netty/buffer/ByteBuf java/nio/ByteOrder java/nio/ByteBuffer io/netty/buffer/ByteBufAllocator
heapBuffer ((Lio/netty/buffer/ByteBufAllocator;[BI)V slice hasRemaining ()Z isDirect hasArray ()[B arrayOffset ()I position remaining ()Ljava/nio/ByteOrder; /(Ljava/nio/ByteOrder;)Lio/netty/buffer/ByteBuf; (io/netty/util/internal/PlatformDependent hasUnsafe
isReadOnly :(Lio/netty/buffer/ByteBufAllocator;Ljava/nio/ByteBuffer;)V ;(Lio/netty/buffer/ByteBufAllocator;Ljava/nio/ByteBuffer;I)V ((Lio/netty/buffer/ByteBufAllocator;JIZ)V
isReadable release isEmpty (Ljava/lang/Object;)Z wrap -(Ljava/lang/Object;)Lio/netty/buffer/ByteBuf; i(Lio/netty/buffer/ByteBufAllocator;ZILio/netty/buffer/CompositeByteBuf$ByteWrapper;[Ljava/lang/Object;I)V BYTE_ARRAY_WRAPPER B(Lio/netty/buffer/ByteBufAllocator;ZI[Lio/netty/buffer/ByteBuf;I)V BYTE_BUFFER_WRAPPER '(Lio/netty/buffer/ByteBufAllocator;ZI)V clone ()Ljava/lang/Object; allocateUninitializedArray (I)[B java/lang/System arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V ()Ljava/nio/ByteBuffer; get ([B)Ljava/nio/ByteBuffer;
readableBytes readerIndex
writeBytes 6(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf; (Ljava/lang/String;)V equals getBytes (I[BII)Lio/netty/buffer/ByteBuf; ([BII)Ljava/nio/ByteBuffer; /(Ljava/lang/CharSequence;)Ljava/nio/CharBuffer; ()[C ()Ljava/nio/CharBuffer; limit (I)Ljava/nio/Buffer; 1(Ljava/lang/CharSequence;II)Ljava/nio/CharBuffer; ([CII)Ljava/nio/CharBuffer; io/netty/buffer/ByteBufUtil
encodeString0 n(Lio/netty/buffer/ByteBufAllocator;ZLjava/nio/CharBuffer;Ljava/nio/charset/Charset;I)Lio/netty/buffer/ByteBuf; (Lio/netty/buffer/ByteBuf;)V writeInt
writeShort writeMedium writeLong writeBoolean
writeFloat writeDouble
asReadOnly java/util/Arrays copyOf :([Ljava/lang/Object;ILjava/lang/Class;)[Ljava/lang/Object; ?(Lio/netty/buffer/ByteBufAllocator;[Lio/netty/buffer/ByteBuf;)V java/lang/Class desiredAssertionStatus (io/netty/buffer/UnpooledByteBufAllocator DEFAULT *Lio/netty/buffer/UnpooledByteBufAllocator; (Ljava/lang/Object;)V 1 t ? ? ? ? ? ? ? ? ? ? 6 ? ? ? ! ? ? ? ? c ? ? ? ! ? ? ? ? k ? ? ? 4
? ? ? ? t ?
? ? ? ? ? 4
? ? ? ? } ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? R *?? ? ?? Y? **??
? ? ? ? ? ? ? ? ? ? ? ? y !? ? ?? *?? *? ?*? ? ? ? ? ? ? ? ? ? ! ? ? ! ? ? ! ? ? ? ? ? ? ?*?
? ? ?*? ? &*? ? *? *? *? `*? ? *? ? ?? ? 9*? ? "*? ? ? Y? *? ?? Y? *? ?? Y? **? ? ?*? ? ? Y? *? ?? Y? **? ? ? ? N ? ? ? ? ? ? ' ? * ? . ? 4 ? 5 ? ; ? B ? I ? U ? a ? q ? x ? ? ? ? ? ? ? ? ) ? ? ? L ? !Y? ? "? ? ? ? ? ? ? ? ? ? ? ? ? T *? #? *? $?*? %W? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 1 *?*? &? ? ? ? ? ? ? ? ? ? 1 *?*? '? ? ? ? ? ? ? ? ? ? 1 *?*? (? ? ? ? ? ? ? ? > t,?? 3 ? T+,2? ) ? H+,2? * ?>,?6? 2,2:? ? ?+? ) ? ? +Y? +,? ,????β ? ? 2
+ 5 A F K O Z j p ? > F $ ? ? 7 9 ? ? ; 5 ? ? t ? ? t ? ? t ? ? ? F $ ? ? t ? ? t ? ? ? ? ? ?? ? ? ? ? ? ? ? = ? -+? .? ? &