com.groupbyinc.flux.common.netty.buffer.EmptyByteBuf.class Maven / Gradle / Ivy
???? 2? 4com/groupbyinc/flux/common/netty/buffer/EmptyByteBuf /com/groupbyinc/flux/common/netty/buffer/ByteBuf EmptyByteBuf.java EMPTY_BYTE_BUFFER Ljava/nio/ByteBuffer; EMPTY_BYTE_BUFFER_ADDRESS J alloc :Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator; order Ljava/nio/ByteOrder; str Ljava/lang/String; swapped 6Lcom/groupbyinc/flux/common/netty/buffer/EmptyByteBuf; =(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;)V java/nio/ByteOrder
BIG_ENDIAN
Q(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;Ljava/nio/ByteOrder;)V
this ()V
java/lang/NullPointerException
(Ljava/lang/String;)V #
! $ 8com/groupbyinc/flux/common/netty/buffer/ByteBufAllocator &
(
* java/lang/StringBuilder ,
- 9com/groupbyinc/flux/common/netty/util/internal/StringUtil / simpleClassName &(Ljava/lang/Object;)Ljava/lang/String; 1 2
0 3 append -(Ljava/lang/String;)Ljava/lang/StringBuilder; 5 6
- 7 BE 9 LE ; java/lang/String = toString ()Ljava/lang/String; ? @
- A C capacity ()I 4(I)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; java/nio/ReadOnlyBufferException H
I newCapacity I <()Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator; ()Ljava/nio/ByteOrder; unwrap 3()Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;
asReadOnly 0com/groupbyinc/flux/common/netty/buffer/Unpooled R unmodifiableBuffer d(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; T U
S V
isReadOnly ()Z isDirect maxCapacity G(Ljava/nio/ByteOrder;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;
endianness ] N
_ a
M
c readerIndex
checkIndex f G
g writerIndex setIndex 5(II)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;
readableBytes
writableBytes maxWritableBytes
isReadable
isWritable clear markReaderIndex resetReaderIndex markWriterIndex resetWriterIndex discardReadBytes discardSomeReadBytes ensureWritable "java/lang/IllegalArgumentException y minWritableBytes: { (I)Ljava/lang/StringBuilder; 5 }
- ~ (expected: >= 0) ?
z $ #java/lang/IndexOutOfBoundsException ?
? 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 e(ILcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; m F
? f k
? dst 1Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; f(ILcom/groupbyinc/flux/common/netty/buffer/ByteBuf;I)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; length g(ILcom/groupbyinc/flux/common/netty/buffer/ByteBuf;II)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; dstIndex 6(I[B)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; [B 8(I[BII)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; I(ILjava/nio/ByteBuffer;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; java/nio/ByteBuffer ? remaining ? F
? ? K(ILjava/io/OutputStream;I)Lcom/groupbyinc/flux/common/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 5(IZ)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; value setByte setShort
setShortLE setMedium setMediumLE setInt setIntLE setLong 5(IJ)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; setLongLE setChar setFloat 5(IF)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; F setDouble 5(ID)Lcom/groupbyinc/flux/common/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 checkLength G
readSlice readRetainedSlice e(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;I)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; f(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;II)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; 5([B)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; 7([BII)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; H(Ljava/nio/ByteBuffer;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; J(Ljava/io/OutputStream;I)Lcom/groupbyinc/flux/common/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 4(Z)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; writeByte
writeShort writeShortLE writeMedium
writeMediumLE writeInt
writeIntLE writeLong 4(J)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; writeLongLE writeChar
writeFloat 4(F)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; writeDouble 4(D)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;
writeBytes l F
& (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 8(Lcom/groupbyinc/flux/common/netty/util/ByteProcessor;)I processor 5Lcom/groupbyinc/flux/common/netty/util/ByteProcessor; :(IILcom/groupbyinc/flux/common/netty/util/ByteProcessor;)I forEachByteDesc copy slice
retainedSlice duplicate retainedDuplicate nioBufferCount nioBuffer ()Ljava/nio/ByteBuffer; C (II)Ljava/nio/ByteBuffer;AB
F
nioBuffers ()[Ljava/nio/ByteBuffer; (II)[Ljava/nio/ByteBuffer;HI
K internalNioBuffer hasArray array ()[B :com/groupbyinc/flux/common/netty/util/internal/EmptyArraysQ EMPTY_BYTESS ? RT arrayOffset hasMemoryAddress X
memoryAddressW Y
[ 'java/lang/UnsupportedOperationException]
^ .(Ljava/nio/charset/Charset;)Ljava/lang/String; a 0(IILjava/nio/charset/Charset;)Ljava/lang/String; ?`
d hashCode equals (Ljava/lang/Object;)Z o Y
i obj Ljava/lang/Object; compareTo 4(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)I buffer size refCnt retain increment touch E(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; hint release decrement length: y L(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/netty/util/ReferenceCounted;tu
| :()Lcom/groupbyinc/flux/common/netty/util/ReferenceCounted;t P
;(I)Lcom/groupbyinc/flux/common/netty/util/ReferenceCounted;r G
?r P
? (Ljava/lang/Object;)Imn
? java/lang/Throwable? allocateDirect (I)Ljava/nio/ByteBuffer;??
?? @com/groupbyinc/flux/common/netty/util/internal/PlatformDependent? hasUnsafe? Y
?? directBufferAddress (Ljava/nio/ByteBuffer;)J??
?? emptyByteBufferAddress Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile 1
? ? A *+? ? ? ?
?
<