io.netty.buffer.AbstractByteBuf.class Maven / Gradle / Ivy
???? 2= io/netty/buffer/AbstractByteBuf io/netty/buffer/ByteBuf AbstractByteBuf.java logger /Lio/netty/util/internal/logging/InternalLogger; PROP_MODE Ljava/lang/String; 'io.netty.buffer.bytebuf.checkAccessible
checkAccessible Z leakDetector $Lio/netty/util/ResourceLeakDetector; ?Lio/netty/util/ResourceLeakDetector; readerIndex I writerIndex markedReaderIndex markedWriterIndex maxCapacity (I)V ()V
"java/lang/IllegalArgumentException java/lang/StringBuilder
maxCapacity: ! append -(Ljava/lang/String;)Ljava/lang/StringBuilder; # $
% (I)Ljava/lang/StringBuilder; # '
( (expected: >= 0) * toString ()Ljava/lang/String; , -
. (Ljava/lang/String;)V 0
1 3 this !Lio/netty/buffer/AbstractByteBuf;
isReadOnly ()Z
asReadOnly ()Lio/netty/buffer/ByteBuf; 7 8
; io/netty/buffer/Unpooled = unmodifiableBuffer 4(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf; ? @
> A ()I D (I)Lio/netty/buffer/ByteBuf; G #java/lang/IndexOutOfBoundsException I ?readerIndex: %d (expected: 0 <= readerIndex <= writerIndex(%d)) K java/lang/Object M java/lang/Integer O valueOf (I)Ljava/lang/Integer; Q R
P S java/lang/String U format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; W X
V Y
J 1 capacity \ C
] JwriterIndex: %d (expected: readerIndex(%d) <= writerIndex <= capacity(%d)) _ setIndex (II)Lio/netty/buffer/ByteBuf; \readerIndex: %d, writerIndex: %d (expected: 0 <= readerIndex <= writerIndex <= capacity(%d)) c setIndex0 (II)V e f
g clear
isReadable (I)Z numBytes
isWritable
readableBytes
writableBytes maxWritableBytes C
q markReaderIndex t resetReaderIndex F
w markWriterIndex z resetWriterIndex discardReadBytes ensureAccessible ~
setBytes 7(ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf; ? ?
?
adjustMarkers ?
? discardSomeReadBytes decrement ensureWritable %minWritableBytes: %d (expected: >= 0) ? ensureWritable0 ?
? minWritableBytes o C
? BwriterIndex(%d) + minWritableBytes(%d) exceeds maxCapacity(%d): %s ? alloc $()Lio/netty/buffer/ByteBufAllocator; ? ?
? io/netty/buffer/ByteBufAllocator ? calculateNewCapacity (II)I ? ? ? ? \ F
? newCapacity (IZ)I C
? force order /(Ljava/nio/ByteOrder;)Lio/netty/buffer/ByteBuf; java/lang/NullPointerException ?
endianness ?
? 1 ()Ljava/nio/ByteOrder; ? ?
? newSwappedByteBuf "()Lio/netty/buffer/SwappedByteBuf; ? ?
? Ljava/nio/ByteOrder; io/netty/buffer/SwappedByteBuf ? (Lio/netty/buffer/ByteBuf;)V ?
? ? getByte (I)B
checkIndex ?
? _getByte ? ?
? index
getBoolean ? ?
? getUnsignedByte (I)S getShort ? f
? _getShort ? ?
?
getShortLE _getShortLE ? ?
? getUnsignedShort (I)I ? ?
? ?? getUnsignedShortLE ? ?
? getUnsignedMedium _getUnsignedMedium ? ?
? getUnsignedMediumLE _getUnsignedMediumLE ? ?
? getMedium ? ?
? ? ? value getMediumLE ? ?
? getInt _getInt ? ?
? getIntLE _getIntLE ? ?
? getUnsignedInt (I)J ? ?
? ???? getUnsignedIntLE ? ?
? getLong _getLong ? ?
? getLongLE
_getLongLE ?
getChar (I)C getFloat (I)F java/lang/Float intBitsToFloat
getDouble (I)D ? ?
java/lang/Double longBitsToDouble (J)D
getBytes (I[B)Lio/netty/buffer/ByteBuf; (I[BII)Lio/netty/buffer/ByteBuf;
dst [B 5(ILio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
? 6(ILio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;
! Lio/netty/buffer/ByteBuf;
? ?
% F
' length getCharSequence 6(IILjava/nio/charset/Charset;)Ljava/lang/CharSequence; 0(IILjava/nio/charset/Charset;)Ljava/lang/String; ,,
- charset Ljava/nio/charset/Charset; readCharSequence 5(ILjava/nio/charset/Charset;)Ljava/lang/CharSequence;*+
3 sequence Ljava/lang/CharSequence; setByte _setByte8 f
9
setBoolean (IZ)Lio/netty/buffer/ByteBuf;7 b
= setShort _setShort@ f
A
setShortLE _setShortLED f
E setChar? b
H setMedium
_setMediumK f
L setMediumLE _setMediumLEO f
P setInt _setIntS f
T setIntLE _setIntLEW f
X setFloat (IF)Lio/netty/buffer/ByteBuf; floatToRawIntBits (F)I\]
^R b
` F setLong (IJ)Lio/netty/buffer/ByteBuf; _setLong (IJ)Vef
g J setLongLE
_setLongLEkf
l setDouble (ID)Lio/netty/buffer/ByteBuf; doubleToRawLongBits (D)Jpq
rcd
t D ?
w src n C
z ?
|y 9length(%d) exceeds src.readableBytes(%d) where src is: %s C
?
w setZero i nLong nBytes setCharSequence 6(ILjava/lang/CharSequence;Ljava/nio/charset/Charset;)I io/netty/util/CharsetUtil? UTF_8?0 ?? java/nio/charset/Charset? equals (Ljava/lang/Object;)Z??
?? io/netty/buffer/ByteBufUtil? utf8MaxBytes (Ljava/lang/CharSequence;)I??
?? ? F
? java/lang/CharSequence?) C?? writeUtf8 >(Lio/netty/buffer/AbstractByteBuf;ILjava/lang/CharSequence;I)I??
?? US_ASCII?0 ??
ISO_8859_1?0 ??
writeAscii??
??? . (Ljava/nio/charset/Charset;)[B?
V? ?
? len bytes readByte ()B checkReadableBytes0?
? b B readBoolean??
? readUnsignedByte ()S readShort v S readShortLE readUnsignedShort??
? readUnsignedShortLE??
?
readMedium readUnsignedMedium? C
? readMediumLE readUnsignedMediumLE? C
? readInt readIntLE readUnsignedInt ()J? C
? readUnsignedIntLE? C
? readLong
readLongLE readChar ()C readFloat ()F
readDouble ()D??
? readBytes checkReadableBytes?
? EMPTY_BUFFER?# >? buffer? b ??
writeBytes 6(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;??
? buf readSlice slice? b
? readRetainedSlice
retainedSlice? b
? ([BII)Lio/netty/buffer/ByteBuf; dstIndex ([B)Lio/netty/buffer/ByteBuf;??
5(Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;?
9length(%d) exceeds dst.writableBytes(%d) where dst is: %s??
0(Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf; java/nio/ByteBuffer remaining
C
1(ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
Ljava/nio/ByteBuffer; ,(Ljava/nio/channels/GatheringByteChannel;I)I java/io/IOException -(ILjava/nio/channels/GatheringByteChannel;I)I
out (Ljava/nio/channels/GatheringByteChannel; $(Ljava/nio/channels/FileChannel;JI)I %(ILjava/nio/channels/FileChannel;JI)I
Ljava/nio/channels/FileChannel; position 2(Ljava/io/OutputStream;I)Lio/netty/buffer/ByteBuf; 3(ILjava/io/OutputStream;I)Lio/netty/buffer/ByteBuf;#
$ Ljava/io/OutputStream; skipBytes writeBoolean (Z)Lio/netty/buffer/ByteBuf; writeByte* F
+
writeShort writeShortLE writeMedium
writeMediumLE writeInt
writeIntLE writeLong (J)Lio/netty/buffer/ByteBuf; writeLongLE writeChar- F
7
writeFloat (F)Lio/netty/buffer/ByteBuf;1 F
; writeDouble (D)Lio/netty/buffer/ByteBuf;34
? srcIndex??
B?
D
? ?
G (Ljava/io/InputStream;I)I (ILjava/io/InputStream;I)I ?J
K in Ljava/io/InputStream; writtenBytes -(Ljava/nio/channels/ScatteringByteChannel;I)I .(ILjava/nio/channels/ScatteringByteChannel;I)I ?Q
R )Ljava/nio/channels/ScatteringByteChannel; ?
U writeZero wIndex writeCharSequence 5(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)I??
[ written copy
z^ b
` duplicate )io/netty/buffer/UnpooledDuplicatedByteBufc $(Lio/netty/buffer/AbstractByteBuf;)V e
df retainedDuplicateb :
i retaink :
l? :
n %io/netty/buffer/UnpooledSlicedByteBufp &(Lio/netty/buffer/AbstractByteBuf;II)V r
qs nioBuffer ()Ljava/nio/ByteBuffer; (II)Ljava/nio/ByteBuffer;uw
x
nioBuffers ()[Ljava/nio/ByteBuffer; (II)[Ljava/nio/ByteBuffer;z|
} .(Ljava/nio/charset/Charset;)Ljava/lang/String; decodeString I(Lio/netty/buffer/ByteBuf;IILjava/nio/charset/Charset;)Ljava/lang/String;??
?? indexOf (IIB)I (Lio/netty/buffer/ByteBuf;IIB)I??
?? fromIndex toIndex bytesBefore (B)I
???
? (IB)I??
? endIndex forEachByte (Lio/netty/util/ByteProcessor;)I java/lang/Exception? forEachByteAsc0 "(IILio/netty/util/ByteProcessor;)I??
? (io/netty/util/internal/PlatformDependent? throwException (Ljava/lang/Throwable;)V??
?? e Ljava/lang/Exception; processor Lio/netty/util/ByteProcessor; io/netty/util/ByteProcessor? process (B)Z???? start end forEachByteDesc forEachByteDesc0??
? rStart rEnd hashCode (Lio/netty/buffer/ByteBuf;)I??
?? 5(Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)Z??
?? o Ljava/lang/Object; compareTo compare 5(Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)I??
?? that refCnt? C
? !io/netty/util/internal/StringUtil? simpleClassName &(Ljava/lang/Object;)Ljava/lang/String;??
?? (freed)? (ridx: ? , widx: ? , cap: ???? (C)Ljava/lang/StringBuilder; #?
? unwrap? :
?
, unwrapped: ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; #?
? Ljava/lang/StringBuilder; unwrapped checkIndex0? f
? fieldLength io/netty/util/internal/MathUtil?
isOutOfBounds (III)Z??
?? .index: %d, length: %d (expected: range(0, %d))?
checkSrcIndex (IIII)V 1srcIndex: %d, length: %d (expected: range(0, %d))? srcCapacity
checkDstIndex 1dstIndex: %d, length: %d (expected: range(0, %d))? dstCapacity minimumReadableBytes: ? minimumReadableBytes checkNewCapacity
newCapacity: ? (expected: 0-? 8readerIndex(%d) + length(%d) exceeds writerIndex(%d): %s?
,io/netty/util/IllegalReferenceCountException
discardMarks (Ljava/lang/Object;)I??
4io/netty/util/internal/logging/InternalLoggerFactory getInstance B(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;
)io/netty/util/internal/SystemPropertyUtil (Ljava/lang/String;Z)Z ?
-io/netty/util/internal/logging/InternalLogger isDebugEnabled 8 -D{}: {} java/lang/Boolean (Z)Ljava/lang/Boolean; Q"
!# debug 9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V%&' )io/netty/util/ResourceLeakDetectorFactory) instance -()Lio/netty/util/ResourceLeakDetectorFactory;+,
*- newResourceLeakDetector 7(Ljava/lang/Class;)Lio/netty/util/ResourceLeakDetector;/0
*1 3
ConstantValue Signature Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile! 5
6 ? 7 ? .*? ? #? Y? Y? "? &? )+? &? /? 2?*? 4? 8 . 5 6 . 9 A B C ( E - F:
? ( 7 8 7 , ? 8 5 6 9 J 9 : 7 I *?