![JAR search and dependency download from the Maven repository](/logo.png)
classes.io.netty.buffer.EmptyByteBuf.class Maven / Gradle / Ivy
The newest version!
???? 2? TU
V
/WX C
Y Z [\
W
"]
^_`
a bc
W
de f
f gh
i
j x
klm
W
/n
o
'p
qrs
/t u
vw
x yz {
|}
,W
~
/? ?
?
?
?
?
?
'?
??
??? EMPTY_BYTE_BUF_HASH_CODE I
ConstantValue EMPTY_BYTE_BUFFER Ljava/nio/ByteBuffer; EMPTY_BYTE_BUFFER_ADDRESS J alloc "Lio/netty/buffer/ByteBufAllocator; order Ljava/nio/ByteOrder; str Ljava/lang/String; swapped Lio/netty/buffer/EmptyByteBuf; %(Lio/netty/buffer/ByteBufAllocator;)V Code LineNumberTable LocalVariableTable this 9(Lio/netty/buffer/ByteBufAllocator;Ljava/nio/ByteOrder;)V
StackMapTableh??\? capacity ()I (I)Lio/netty/buffer/ByteBuf; newCapacity $()Lio/netty/buffer/ByteBufAllocator; ()Ljava/nio/ByteOrder; unwrap ()Lio/netty/buffer/ByteBuf;
asReadOnly
isReadOnly ()Z isDirect maxCapacity /(Ljava/nio/ByteOrder;)Lio/netty/buffer/ByteBuf;
endianness readerIndex writerIndex setIndex (II)Lio/netty/buffer/ByteBuf;
readableBytes
writableBytes maxWritableBytes
isReadable
isWritable clear markReaderIndex resetReaderIndex markWriterIndex resetWriterIndex discardReadBytes discardSomeReadBytes ensureWritable minWritableBytes (IZ)I force Z
getBoolean (I)Z index getByte (I)B getUnsignedByte (I)S getShort
getShortLE getUnsignedShort (I)I getUnsignedShortLE getMedium getMediumLE getUnsignedMedium getUnsignedMediumLE getInt getIntLE getUnsignedInt (I)J getUnsignedIntLE getLong getLongLE getChar (I)C getFloat (I)F getDouble (I)D getBytes 5(ILio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf; dst Lio/netty/buffer/ByteBuf; 6(ILio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf; length 7(ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf; dstIndex (I[B)Lio/netty/buffer/ByteBuf; [B (I[BII)Lio/netty/buffer/ByteBuf; 1(ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf; 3(ILjava/io/OutputStream;I)Lio/netty/buffer/ByteBuf; out Ljava/io/OutputStream; -(ILjava/nio/channels/GatheringByteChannel;I)I (Ljava/nio/channels/GatheringByteChannel; %(ILjava/nio/channels/FileChannel;JI)I Ljava/nio/channels/FileChannel; position getCharSequence 6(IILjava/nio/charset/Charset;)Ljava/lang/CharSequence; charset Ljava/nio/charset/Charset;
setBoolean (IZ)Lio/netty/buffer/ByteBuf; value setByte setShort
setShortLE setMedium setMediumLE setInt setIntLE setLong (IJ)Lio/netty/buffer/ByteBuf; setLongLE setChar setFloat (IF)Lio/netty/buffer/ByteBuf; F setDouble (ID)Lio/netty/buffer/ByteBuf; D setBytes src srcIndex (ILjava/io/InputStream;I)I in Ljava/io/InputStream; .(ILjava/nio/channels/ScatteringByteChannel;I)I )Ljava/nio/channels/ScatteringByteChannel; setZero setCharSequence 6(ILjava/lang/CharSequence;Ljava/nio/charset/Charset;)I sequence Ljava/lang/CharSequence; readBoolean readByte ()B readUnsignedByte ()S readShort readShortLE readUnsignedShort readUnsignedShortLE
readMedium readMediumLE readUnsignedMedium readUnsignedMediumLE readInt readIntLE readUnsignedInt ()J readUnsignedIntLE readLong
readLongLE readChar ()C readFloat ()F
readDouble ()D readBytes readSlice readRetainedSlice 4(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf; 5(Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf; 6(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf; ([B)Lio/netty/buffer/ByteBuf; ([BII)Lio/netty/buffer/ByteBuf; 0(Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf; 2(Ljava/io/OutputStream;I)Lio/netty/buffer/ByteBuf; ,(Ljava/nio/channels/GatheringByteChannel;I)I $(Ljava/nio/channels/FileChannel;JI)I readCharSequence 5(ILjava/nio/charset/Charset;)Ljava/lang/CharSequence; skipBytes writeBoolean (Z)Lio/netty/buffer/ByteBuf; writeByte
writeShort writeShortLE writeMedium
writeMediumLE writeInt
writeIntLE writeLong (J)Lio/netty/buffer/ByteBuf; writeLongLE writeChar
writeFloat (F)Lio/netty/buffer/ByteBuf; writeDouble (D)Lio/netty/buffer/ByteBuf;
writeBytes (Ljava/io/InputStream;I)I -(Ljava/nio/channels/ScatteringByteChannel;I)I writeZero writeCharSequence 5(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)I indexOf (IIB)I fromIndex toIndex B bytesBefore (B)I (IB)I forEachByte (Lio/netty/util/ByteProcessor;)I processor Lio/netty/util/ByteProcessor; "(IILio/netty/util/ByteProcessor;)I forEachByteDesc copy slice
retainedSlice duplicate retainedDuplicate nioBufferCount nioBuffer ()Ljava/nio/ByteBuffer; (II)Ljava/nio/ByteBuffer;
nioBuffers ()[Ljava/nio/ByteBuffer; (II)[Ljava/nio/ByteBuffer; internalNioBuffer hasArray array ()[B arrayOffset hasMemoryAddress
memoryAddress toString .(Ljava/nio/charset/Charset;)Ljava/lang/String; 0(IILjava/nio/charset/Charset;)Ljava/lang/String; hashCode equals (Ljava/lang/Object;)Z obj Ljava/lang/Object; compareTo (Lio/netty/buffer/ByteBuf;)I buffer ()Ljava/lang/String; size refCnt retain increment touch -(Ljava/lang/Object;)Lio/netty/buffer/ByteBuf; hint release decrement
checkIndex checkLength 4(Ljava/lang/Object;)Lio/netty/util/ReferenceCounted; "()Lio/netty/util/ReferenceCounted; #(I)Lio/netty/util/ReferenceCounted; (Ljava/lang/Object;)I ()V emptyByteBufferAddress?
SourceFile EmptyByteBuf.java?? F K Q KO java/lang/NullPointerException K? C D E F java/lang/StringBuilder???? BE LE3> G H java/nio/ReadOnlyBufferException?? ? E ] I J io/netty/buffer/EmptyByteBuf C \H Z??? #java/lang/IndexOutOfBoundsException l YH j? YI Z !io/netty/util/internal/StringUtil k Y ? @&' java/nio/ByteBuffer)*?? ? A B1 b 'java/lang/UnsupportedOperationException34 io/netty/buffer/ByteBuf n bCDC _A ZA _;<???? b?? java/lang/Throwable io/netty/buffer/ByteBufAllocator java/nio/ByteOrder java/lang/String
BIG_ENDIAN (Ljava/lang/String;)V simpleClassName &(Ljava/lang/Object;)Ljava/lang/String; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; io/netty/buffer/Unpooled unmodifiableBuffer !io/netty/util/internal/ObjectUtil checkPositiveOrZero (ILjava/lang/String;)I remaining "io/netty/util/internal/EmptyArrays EMPTY_BYTES allocateDirect (I)Ljava/nio/ByteBuffer; (io/netty/util/internal/PlatformDependent hasUnsafe directBufferAddress (Ljava/nio/ByteBuffer;)J 1 / ; <