![JAR search and dependency download from the Maven repository](/logo.png)
classes.io.netty.buffer.AbstractByteBuf.class Maven / Gradle / Ivy
The newest version!
???? 2w
?, ?
-. ?/
?0
12 ?3456
?7
89
: ?; ?<
?=
?>
??
?@ ?A
?B ?C
?D
?E
?F
?G
?H
?I
JK
?L
?MN
?OPQ
?R
?S
?TU'
':
?VW
+X
?Y
?Z
?[
?\
?]
?^
?_ ??
?`
?a
?b
?c ? ?
?d
?e
?f
?g ????
?h
?i
?j
kl
?m
no
?p
?M
?q
?H
?r
?D st
uv swx
yz
P{
?|
?}
?~
?
??
??
??
??
??
??
??
k?
??
??
??
n?
??
??
??
????
??
?I
?B
?? s?
y?
????
y?
y???
8?
??
??
??
??
??
??
??
??
??
??
?? 1?P?
??
??
??
??
???
??
??
??
??
??
??
??
??
??
??
??
??
??
??
??
??
??
??
??
???
??
??
??
???
??
??
??
y?
??
??
J?
??
??
???
????
??
y??
y?
y?
???
?,
??
???
???
????????
??
???
??
???-
????!???
?:? ??
???
??
???
?? ???
??
??
? logger /Lio/netty/util/internal/logging/InternalLogger; LEGACY_PROP_CHECK_ACCESSIBLE Ljava/lang/String;
ConstantValue PROP_CHECK_ACCESSIBLE checkAccessible Z PROP_CHECK_BOUNDS checkBounds leakDetector $Lio/netty/util/ResourceLeakDetector; Signature ?Lio/netty/util/ResourceLeakDetector; readerIndex I writerIndex markedReaderIndex markedWriterIndex maxCapacity (I)V Code LineNumberTable LocalVariableTable this !Lio/netty/buffer/AbstractByteBuf;
isReadOnly ()Z
asReadOnly ()Lio/netty/buffer/ByteBuf;
StackMapTable ()I checkIndexBounds (III)V capacity (I)Lio/netty/buffer/ByteBuf; setIndex (II)Lio/netty/buffer/ByteBuf; clear
isReadable (I)Z numBytes
isWritable
readableBytes
writableBytes maxWritableBytes markReaderIndex resetReaderIndex markWriterIndex resetWriterIndex discardReadBytes discardSomeReadBytes
adjustMarkers decrement trimIndicesToCapacity newCapacity ensureWritable minWritableBytes ensureWritable0 minNewCapacity fastCapacity (IZ)I force order /(Ljava/nio/ByteOrder;)Lio/netty/buffer/ByteBuf;
endianness Ljava/nio/ByteOrder; newSwappedByteBuf "()Lio/netty/buffer/SwappedByteBuf; getByte (I)B index _getByte
getBoolean getUnsignedByte (I)S getShort _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 getDouble (I)D getBytes (I[B)Lio/netty/buffer/ByteBuf; dst [B 5(ILio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf; Lio/netty/buffer/ByteBuf; 6(ILio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf; length getCharSequence 6(IILjava/nio/charset/Charset;)Ljava/lang/CharSequence; charset Ljava/nio/charset/Charset; readCharSequence 5(ILjava/nio/charset/Charset;)Ljava/lang/CharSequence; sequence Ljava/lang/CharSequence; setByte _setByte (II)V
setBoolean (IZ)Lio/netty/buffer/ByteBuf;? setShort _setShort
setShortLE _setShortLE setChar setMedium
_setMedium setMediumLE _setMediumLE setInt _setInt setIntLE _setIntLE setFloat (IF)Lio/netty/buffer/ByteBuf; F setLong (IJ)Lio/netty/buffer/ByteBuf; J _setLong (IJ)V setLongLE
_setLongLE setDouble (ID)Lio/netty/buffer/ByteBuf; D setBytes src checkReadableBounds (Lio/netty/buffer/ByteBuf;I)V setZero i nLong nBytes setCharSequence 6(ILjava/lang/CharSequence;Ljava/nio/charset/Charset;)I setCharSequence0 7(ILjava/lang/CharSequence;Ljava/nio/charset/Charset;Z)I expand bytesT readByte ()B b B readBoolean readUnsignedByte ()S readShort v S readShortLE readUnsignedShort readUnsignedShortLE
readMedium readMediumLE readUnsignedMedium readUnsignedMediumLE readInt readIntLE readUnsignedInt ()J readUnsignedIntLE readLong
readLongLE readChar ()C readFloat ()F
readDouble ()D readBytes buf readSlice slice readRetainedSlice ([BII)Lio/netty/buffer/ByteBuf; dstIndex ([B)Lio/netty/buffer/ByteBuf; 4(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf; 5(Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf; 6(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf; 0(Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf; Ljava/nio/ByteBuffer; ,(Ljava/nio/channels/GatheringByteChannel;I)I out (Ljava/nio/channels/GatheringByteChannel;
Exceptions $(Ljava/nio/channels/FileChannel;JI)I Ljava/nio/channels/FileChannel; position 2(Ljava/io/OutputStream;I)Lio/netty/buffer/ByteBuf; Ljava/io/OutputStream; skipBytes writeBoolean (Z)Lio/netty/buffer/ByteBuf; writeByte
writeShort writeShortLE writeMedium
writeMediumLE writeInt
writeIntLE writeLong (J)Lio/netty/buffer/ByteBuf; writeLongLE writeChar
writeFloat (F)Lio/netty/buffer/ByteBuf; writeDouble (D)Lio/netty/buffer/ByteBuf;
writeBytes srcIndex (Ljava/io/InputStream;I)I in Ljava/io/InputStream; writtenBytes -(Ljava/nio/channels/ScatteringByteChannel;I)I )Ljava/nio/channels/ScatteringByteChannel; writeZero wIndex writeCharSequence 5(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)I written copy duplicate retainedDuplicate
retainedSlice nioBuffer ()Ljava/nio/ByteBuffer;
nioBuffers ()[Ljava/nio/ByteBuffer; toString .(Ljava/nio/charset/Charset;)Ljava/lang/String; 0(IILjava/nio/charset/Charset;)Ljava/lang/String; indexOf (IIB)I fromIndex toIndex firstIndexOf lastIndexOf bytesBefore (B)I (IB)I endIndex forEachByte (Lio/netty/util/ByteProcessor;)I e Ljava/lang/Exception; processor Lio/netty/util/ByteProcessor;? "(IILio/netty/util/ByteProcessor;)I forEachByteAsc0 start end forEachByteDesc forEachByteDesc0 rStart rEnd hashCode equals (Ljava/lang/Object;)Z o Ljava/lang/Object; compareTo (Lio/netty/buffer/ByteBuf;)I that ()Ljava/lang/String; Ljava/lang/StringBuilder; unwrapped??
checkIndex fieldLength checkRangeBounds (Ljava/lang/String;III)V indexName checkIndex0
checkSrcIndex (IIII)V srcCapacity
checkDstIndex dstCapacity checkReadableBytes minimumReadableBytes checkNewCapacity checkReadableBytes0 ensureAccessible ()V setIndex0 discardMarks (Ljava/lang/Object;)I
SourceFile AbstractByteBuf.java ?%
? ? ? ? ? #java/lang/IndexOutOfBoundsException \readerIndex: %d, writerIndex: %d (expected: 0 <= readerIndex <= writerIndex <= capacity(%d)) java/lang/Object ? ? ? ? ?&c ? ? ? ? ? ? ? $%? ? ? ? ? BwriterIndex(%d) + minWritableBytes(%d) exceeds maxCapacity(%d): %s %! java/lang/NullPointerException)* io/netty/buffer/SwappedByteBuf ?" ?.,+,c31512141:7<797;7A7C7@7B7HEJE#$NGE%&'Q(QWQ)*\+
,\ io/netty/util/AsciiString-Q. ?/??YZbcahcjcgmcocqcsc01pz{}{23wx?(?W 9length(%d) exceeds src.readableBytes(%d) where src is: %s????4\56c7X89:9?Q;?R# ????????????? ?<V=???????? 9length(%d) exceeds dst.writableBytes(%d) where dst is: %s??>?Q@QAQBQC? ? ? ?? ?????@?D?E?B? )io/netty/buffer/UnpooledDuplicatedByteBuf ?F?G? %io/netty/buffer/UnpooledSlicedByteBuf ?H?I?JKL????M???? java/lang/ExceptionNOPQRS io/netty/buffer/ByteBuf TUVW java/lang/StringBuilderXYZ[\ (freed) (ridx: [] , widx: , cap: java/lang/Integer[^_
, unwrapped: [`abc +%s: %d, length: %d (expected: range(0, %d)) "java/lang/IllegalArgumentException
newCapacity: (expected: 0- 8readerIndex(%d) + length(%d) exceeds writerIndex(%d): %s ? ?d ,io/netty/util/IllegalReferenceCountException ? ?
io/netty/buffer/AbstractByteBufefg ? ? io.netty.buffer.checkAccessiblehij/k 'io.netty.buffer.bytebuf.checkAccessible io.netty.buffer.checkBoundslm -D{}: {}nopqrstuv ? ? java/io/IOException !io/netty/util/internal/ObjectUtil checkPositiveOrZero (ILjava/lang/String;)I io/netty/buffer/Unpooled unmodifiableBuffer valueOf (I)Ljava/lang/Integer; java/lang/String format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; (Ljava/lang/String;)V 7(ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf; java/lang/Math min (II)I alloc $()Lio/netty/buffer/ByteBufAllocator; io/netty/buffer/ByteBufAllocator calculateNewCapacity maxFastWritableBytes ()Ljava/nio/ByteOrder; (Lio/netty/buffer/ByteBuf;)V java/lang/Float intBitsToFloat java/lang/Double longBitsToDouble (J)D (I[BII)Lio/netty/buffer/ByteBuf; io/netty/util/CharsetUtil US_ASCII java/nio/charset/Charset
ISO_8859_1 io/netty/buffer/ByteBufUtil (Lio/netty/buffer/ByteBuf;IIZ)[B ([BZ)V floatToRawIntBits (F)I doubleToRawLongBits (D)J UTF_8 utf8MaxBytes (Ljava/lang/CharSequence;)I java/lang/CharSequence writeUtf8 >(Lio/netty/buffer/AbstractByteBuf;ILjava/lang/CharSequence;I)I
writeAscii (Ljava/nio/charset/Charset;)[B EMPTY_BUFFER buffer java/nio/ByteBuffer remaining 1(ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf; -(ILjava/nio/channels/GatheringByteChannel;I)I %(ILjava/nio/channels/FileChannel;JI)I 3(ILjava/io/OutputStream;I)Lio/netty/buffer/ByteBuf; (ILjava/io/InputStream;I)I .(ILjava/nio/channels/ScatteringByteChannel;I)I $(Lio/netty/buffer/AbstractByteBuf;)V retain &(Lio/netty/buffer/AbstractByteBuf;II)V (II)Ljava/nio/ByteBuffer; (II)[Ljava/nio/ByteBuffer; decodeString I(Lio/netty/buffer/ByteBuf;IILjava/nio/charset/Charset;)Ljava/lang/String; max (io/netty/util/internal/PlatformDependent throwException (Ljava/lang/Throwable;)V io/netty/util/ByteProcessor process (B)Z 5(Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)Z compare 5(Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)I refCnt !io/netty/util/internal/StringUtil simpleClassName &(Ljava/lang/Object;)Ljava/lang/String; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; (C)Ljava/lang/StringBuilder; unwrap -(Ljava/lang/Object;)Ljava/lang/StringBuilder; io/netty/util/internal/MathUtil
isOutOfBounds (III)Z isAccessible 4io/netty/util/internal/logging/InternalLoggerFactory getInstance B(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger; )io/netty/util/internal/SystemPropertyUtil contains (Ljava/lang/String;)Z (Ljava/lang/String;Z)Z -io/netty/util/internal/logging/InternalLogger isDebugEnabled java/lang/Boolean (Z)Ljava/lang/Boolean; 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;! ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Q *? ? W*? ? ? L M N O ? ? ? ? ? ? , ? ? S ? ? ? ? I *? ? *?*? ? ? Y Z \ ? ? ? ? ? / *? ? ? a ? ? ? ? ? ? > *? ? ?
e f ? ? ? ? ? ? ? / *? ? ? j ? ? ?
? ? 5?
? ? )? Y ?
Y? SY? SY? S? ?
?? ? n o q - o 4 s ? 5 ? ? 5 ? ? 5 ? % ? ? b ? ? *? *? ? *? *? ? w x z { ? ? ? ? ? ? ? / *? ? ? ? ? ? ? ? ? b ? ? *? *? ? *? *? ? ? ? ? ? ? ? ? ? ?
? j ? ? *? ? *? *? ? ? ? ? ? ? ? ? ? ? ? ? ? : **Z? ? *? ?
?
? ? ? ?
? F *? *? ? ? ? ? ? ? ? ? @
? R *? *? d? ? ? ? ? ? ? ? ? @ ? F *? *? ? ? ? ? ? ? ? ? @ ? R *? *? d? ? ? ? ? ? ? ? ? @ ? 4
*? *? d? ? ? ?
? ? ? 4
*? *? d? ? ? ?
? ? ? 4
*? *? d? ? ? ?
? ? ? 8
**? ? *? ?
? ? ?
? ? ? 9 **? ? W*? ?
? ? ? ? ? ? 8
**? ? *? ?
? ? ?
? ? ? 9 **? ? W*? ?
? ? ? ? ? ? ? ]*? *? ? *?*? *? ? 4***? *? *? d? W*Y? *? d? **? ? *? ? **? ? **Z? ? *? ? . ? ? ?
? ? , ? 9 ? A ? I ? Q ? [ ? ? ] ? ?
; ? ? i*? *? ? *?*? *? ? **? ? **Z? ? *?*? *? |? 1***? *? *? d? W*Y? *? d? **? ? *? *? ? 6
? ? ?
? ? ? * ? , ? 9 ? M ? Z ? b ? g ? ? i ? ?
: ? ? ? =*? =? $*? *? >? *? ?
*d? ? *d? *Y? d? ? ? .
! ( +
2 <
? * ? ? = ? ? = ? 8 ? ? ? !? ? ? [ *? ? **? ? ? ? ? ? ? ? ? ? J ? W*? *? ? ? ? ? ? ? ? / ?*? *? ? ?*? =? ? :*? d? 0? Y!?
Y? SY? SY*? ? SY*S? ?
?`>*? "*? ? # 6*? $`6?
? 6*? %W? ? B
" # $ "% /' H% O, S- c/ k1 x2 |6 ?7 ? > ? ? ? ? ? r ? ? S 1! ? c ! ? k " ?
? A? , # ? @ v*? ? W*? ? ?*? >*? 6d? ? *? ? ?*? %W?`6*? "? # 6*? $`6? ? 6*? %W? ? J ; <