io.netty.buffer.AbstractUnpooledSlicedByteBuf.class Maven / Gradle / Ivy
???? 2m -io/netty/buffer/AbstractUnpooledSlicedByteBuf &io/netty/buffer/AbstractDerivedByteBuf "AbstractUnpooledSlicedByteBuf.java buffer Lio/netty/buffer/ByteBuf;
adjustment I (Lio/netty/buffer/ByteBuf;II)V (I)V
checkSliceOutOfBounds (IILio/netty/buffer/ByteBuf;)V
io/netty/buffer/ByteBuf !io/netty/buffer/DuplicatedByteBuf unwrap ()Lio/netty/buffer/ByteBuf;
initLength
writerIndex (I)Lio/netty/buffer/ByteBuf; " #
$ this /Lio/netty/buffer/AbstractUnpooledSlicedByteBuf; index length ()I capacity + *
, alloc $()Lio/netty/buffer/ByteBufAllocator;
. /
1 order ()Ljava/nio/ByteOrder; Ljava/lang/Deprecated; 3 4
6 isDirect ()Z 8 9
: 'java/lang/UnsupportedOperationException <
sliced buffer > (Ljava/lang/String;)V
@
= A newCapacity hasArray D 9
E array ()[B G H
I arrayOffset K *
L idx (I)I N O
P hasMemoryAddress R 9
S
memoryAddress ()J U V
W getByte (I)B checkIndex0 (II)V [ \
] Y Z
_ _getByte getShort (I)S b c
d _getShort
getShortLE g c
h _getShortLE getUnsignedMedium k O
l _getUnsignedMedium getUnsignedMediumLE o O
p _getUnsignedMediumLE getInt s O
t _getInt getIntLE w O
x _getIntLE getLong (I)J { |
} _getLong getLongLE ? |
?
_getLongLE duplicate ?
? readerIndex ? *
? " *
? setIndex (II)Lio/netty/buffer/ByteBuf; ? ?
? copy ? ?
? slice ? ?
? getBytes 7(ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf; ? ?
? dst dstIndex (I[BII)Lio/netty/buffer/ByteBuf; ? ?
? [B 1(ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf; java/nio/ByteBuffer ? remaining ? *
? ? ? ?
? Ljava/nio/ByteBuffer; setByte ? ?
? value getCharSequence 6(IILjava/nio/charset/Charset;)Ljava/lang/CharSequence; ? ?
? charset Ljava/nio/charset/Charset; _setByte setShort ? ?
? _setShort
setShortLE ? ?
? _setShortLE setMedium ? ?
?
_setMedium setMediumLE ? ?
? _setMediumLE setInt ? ?
? _setInt setIntLE ? ?
? _setIntLE setLong (IJ)Lio/netty/buffer/ByteBuf; ? ?
? J _setLong (IJ)V setLongLE ? ?
?
_setLongLE setBytes ? ?
? src srcIndex ? ?
? ? ?
? setCharSequence 6(ILjava/lang/CharSequence;Ljava/nio/charset/Charset;)I io/netty/util/CharsetUtil ? UTF_8 ? ? ? ? java/nio/charset/Charset ? equals (Ljava/lang/Object;)Z ? ?
? ? io/netty/buffer/ByteBufUtil ? utf8MaxBytes (Ljava/lang/CharSequence;)I ? ?
? ? java/lang/CharSequence ? ) * ? ? writeUtf8 >(Lio/netty/buffer/AbstractByteBuf;ILjava/lang/CharSequence;I)I ? ?
? ? US_ASCII ? ? ? ?
ISO_8859_1 ? ? ? ?
writeAscii ?
? toString ()Ljava/lang/String; ? java/lang/String (Ljava/nio/charset/Charset;)[B ?
(I[B)Lio/netty/buffer/ByteBuf; ?
len sequence Ljava/lang/CharSequence; bytes 3(ILjava/io/OutputStream;I)Lio/netty/buffer/ByteBuf; java/io/IOException ?
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 (ILjava/io/InputStream;I)I ?$
% in Ljava/io/InputStream; .(ILjava/nio/channels/ScatteringByteChannel;I)I ?)
* )Ljava/nio/channels/ScatteringByteChannel; ?
- nioBufferCount/ *
0 nioBuffer (II)Ljava/nio/ByteBuffer;23
4
nioBuffers (II)[Ljava/nio/ByteBuffer;67
8 forEachByte "(IILio/netty/util/ByteProcessor;)I:;
< processor Lio/netty/util/ByteProcessor; ret forEachByteDescA;
B
, io/netty/util/internal/MathUtilE
isOutOfBounds (III)ZGH
FI #java/lang/IndexOutOfBoundsExceptionK java/lang/StringBuilderM ()V
O
NP append -(Ljava/lang/Object;)Ljava/lang/StringBuilder;RS
NT .slice(V -(Ljava/lang/String;)Ljava/lang/StringBuilder;RX
NY (I)Ljava/lang/StringBuilder;R[
N\ , ^ (C)Ljava/lang/StringBuilder;R`
Na
N
L A Code LocalVariableTable LineNumberTable
StackMapTable
Deprecated RuntimeVisibleAnnotations
Exceptions
SourceFile I
e ? Z*? +? +? ? *+? ? ? *+? ? `? ? $+? ? *+? ? *? ?
*+? *? *? !*? %W? f * Z &