io.netty.buffer.ReadOnlyByteBuf.class Maven / Gradle / Ivy
???? 2 ? io/netty/buffer/ReadOnlyByteBuf &io/netty/buffer/AbstractDerivedByteBuf ReadOnlyByteBuf.java Ljava/lang/Deprecated; buffer Lio/netty/buffer/ByteBuf; (Lio/netty/buffer/ByteBuf;)V io/netty/buffer/ByteBuf maxCapacity ()I
(I)V
!io/netty/buffer/DuplicatedByteBuf unwrap ()Lio/netty/buffer/ByteBuf;
readerIndex
writerIndex
setIndex (II)Lio/netty/buffer/ByteBuf; " #
$ this !Lio/netty/buffer/ReadOnlyByteBuf;
isReadOnly ()Z
isWritable (I)Z numBytes I alloc $()Lio/netty/buffer/ByteBufAllocator;
. /
1 order ()Ljava/nio/ByteOrder; 3 4
5 isDirect 7 )
8 hasArray array ()[B java/nio/ReadOnlyBufferException = ()V ?
> @ arrayOffset hasMemoryAddress C )
D
memoryAddress ()J F G
H discardReadBytes setBytes 7(ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf; index src srcIndex length (I[BII)Lio/netty/buffer/ByteBuf; [B 1(ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf; Ljava/nio/ByteBuffer; setByte 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 (ILjava/io/InputStream;I)I in Ljava/io/InputStream; .(ILjava/nio/channels/ScatteringByteChannel;I)I )Ljava/nio/channels/ScatteringByteChannel; %(ILjava/nio/channels/FileChannel;JI)I Ljava/nio/channels/FileChannel; position getBytes -(ILjava/nio/channels/GatheringByteChannel;I)I java/io/IOException v t u
x out (Ljava/nio/channels/GatheringByteChannel; t q
| 3(ILjava/io/OutputStream;I)Lio/netty/buffer/ByteBuf; t ~
Ljava/io/OutputStream; t Q
? dst dstIndex t L
? t S
? duplicate
? copy ? #
? slice ? #
? io/netty/buffer/Unpooled ? unmodifiableBuffer 4(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf; ? ?
? ? getByte (I)B ? ?
? _getByte getShort (I)S ? ?
? _getShort
getShortLE ? ?
? _getShortLE getUnsignedMedium (I)I ? ?
? _getUnsignedMedium getUnsignedMediumLE ? ?
? _getUnsignedMediumLE getInt ? ?
? _getInt getIntLE ? ?
? _getIntLE getLong (I)J ? ?
? _getLong getLongLE ? ?
?
_getLongLE nioBufferCount ?
? nioBuffer (II)Ljava/nio/ByteBuffer; ? ?
? java/nio/ByteBuffer ? asReadOnlyBuffer ()Ljava/nio/ByteBuffer; ? ?
? ?
nioBuffers (II)[Ljava/nio/ByteBuffer; ? ?
? forEachByte "(IILio/netty/util/ByteProcessor;)I ? ?
? processor Lio/netty/util/ByteProcessor; forEachByteDesc ? ?
? capacity ?
? (I)Lio/netty/buffer/ByteBuf; newCapacity
asReadOnly Code LocalVariableTable LineNumberTable
StackMapTable
Deprecated RuntimeVisibleAnnotations
Exceptions
SourceFile ! I
? ? 4*+? ? +? ?
+? ? *+? ? ? *+? *+? +? !? %W? ? 4 &