classes.io.netty.buffer.ReadOnlyByteBufferBuf.class Maven / Gradle / Ivy
The newest version!
???? 2h
C ?
Q ?
C ? ? ?
? ?
?
? ?
?
? P ?
C ? ? ?
C ? P ?
C ?
P ? ?
?
P ?
P ?
C ?
P ?
C ?
P ?
? ?
P ?
P ?
P ?
P ?
C ?
P
?
P
C
P
?
P
P
P
P
C
C
P
C
P
C
C
C
C
?
! P"
C#$%&
'
D ?
P()*)+
,
P-
C.
N ?/0 buffer Ljava/nio/ByteBuffer; allocator "Lio/netty/buffer/ByteBufAllocator; tmpNioBuf :(Lio/netty/buffer/ByteBufAllocator;Ljava/nio/ByteBuffer;)V Code LineNumberTable LocalVariableTable this 'Lio/netty/buffer/ReadOnlyByteBufferBuf;
StackMapTable/1$
deallocate ()V
isWritable ()Z (I)Z numBytes I ensureWritable (I)Lio/netty/buffer/ByteBuf; minWritableBytes (IZ)I force Z getByte (I)B index _getByte getShort (I)S _getShort
getShortLE _getShortLE getUnsignedMedium (I)I _getUnsignedMedium getUnsignedMediumLE _getUnsignedMediumLE getInt _getInt getIntLE _getIntLE getLong (I)J _getLong getLongLE
_getLongLE getBytes 7(ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf; bbLen bb dst Lio/netty/buffer/ByteBuf; dstIndex length2 (I[BII)Lio/netty/buffer/ByteBuf; [B tmpBuf 1(ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf; setByte (II)Lio/netty/buffer/ByteBuf; value _setByte (II)V setShort _setShort
setShortLE _setShortLE setMedium
_setMedium setMediumLE _setMediumLE setInt _setInt setIntLE _setIntLE setLong (IJ)Lio/netty/buffer/ByteBuf; J _setLong (IJ)V setLongLE
_setLongLE capacity ()I newCapacity alloc $()Lio/netty/buffer/ByteBufAllocator; order ()Ljava/nio/ByteOrder; unwrap ()Lio/netty/buffer/ByteBuf;
isReadOnly isDirect 3(ILjava/io/OutputStream;I)Lio/netty/buffer/ByteBuf; tmp out Ljava/io/OutputStream;
Exceptions3 -(ILjava/nio/channels/GatheringByteChannel;I)I (Ljava/nio/channels/GatheringByteChannel; %(ILjava/nio/channels/FileChannel;JI)I Ljava/nio/channels/FileChannel; position setBytes src srcIndex (ILjava/io/InputStream;I)I in Ljava/io/InputStream; .(ILjava/nio/channels/ScatteringByteChannel;I)I )Ljava/nio/channels/ScatteringByteChannel; internalNioBuffer ()Ljava/nio/ByteBuffer; copy ignored $Ljava/lang/IllegalArgumentException; ?4 nioBufferCount
nioBuffers (II)[Ljava/nio/ByteBuffer; nioBuffer (II)Ljava/nio/ByteBuffer; hasArray array ()[B arrayOffset hasMemoryAddress
memoryAddress ()J
SourceFile ReadOnlyByteBufferBuf.java5 ? W6 ? e "java/lang/IllegalArgumentException java/lang/StringBuilder W c must be a readonly buffer: 789:;<= W> T U? ?@AB ?C R SD ?E j java/nio/ReadOnlyBufferExceptionF c r pG p u t s t w tHIJ z y o p | y ~ y } y ? yK y ? ? ? ? ? ?LM4 ? ?NO ? e ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?PQR ?SDSGTU ?VWX ? ? eYZ[\]^Z_`Za V Sb ? java/nio/ByteBuffer #java/lang/IndexOutOfBoundsException Too many bytes to read - Need 7c ? ?1d je jfg ? ? 'java/lang/UnsupportedOperationException %io/netty/buffer/ReadOnlyByteBufferBuf /io/netty/buffer/AbstractReferenceCountedByteBuf io/netty/buffer/ByteBufAllocator [Ljava/nio/ByteBuffer; java/io/IOException io/netty/buffer/ByteBuf remaining (I)V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; !io/netty/util/internal/StringUtil simpleClassName &(Ljava/lang/Object;)Ljava/lang/String; toString ()Ljava/lang/String; (Ljava/lang/String;)V slice java/nio/ByteOrder
BIG_ENDIAN Ljava/nio/ByteOrder; +(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer; limit writerIndex ensureAccessible get io/netty/buffer/ByteBufUtil swapShort (S)S swapInt swapLong (J)J
checkDstIndex (IIII)V clear ()Ljava/nio/Buffer; java/nio/Buffer (I)Ljava/nio/Buffer; ([BII)Ljava/nio/ByteBuffer;
checkIndex put ,(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer; maxCapacity java/io/OutputStream write ([BII)V threadLocalTempArray (I)[B &java/nio/channels/GatheringByteChannel (Ljava/nio/ByteBuffer;)I java/nio/channels/FileChannel (Ljava/nio/ByteBuffer;J)I duplicate (I)Ljava/lang/StringBuilder; directBuffer
heapBuffer
writeBytes 0(Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf; P Q R S T U V S H W X Y ? M*,? ? ,? ? !? Y? Y? ? ,? ? ?
? ?*+? *,?
? ? ? **? ? ? W? Z ) * + - . 2 / @ 0 L 1 [ M \ ] M T U M R S ^ ? - _ ` a b c Y + ? Z 4 [ \ ] d e Y , ? Z 8 [ \ ] d f Y 6 ? Z = [ \ ] g h i j Y <