![JAR search and dependency download from the Maven repository](/logo.png)
classes.io.netty.buffer.ByteBuf.class Maven / Gradle / Ivy
The newest version!
???? 2*
()V Code LineNumberTable LocalVariableTable this Lio/netty/buffer/ByteBuf; capacity ()I (I)Lio/netty/buffer/ByteBuf; maxCapacity alloc $()Lio/netty/buffer/ByteBufAllocator; order ()Ljava/nio/ByteOrder;
Deprecated RuntimeVisibleAnnotations Ljava/lang/Deprecated; /(Ljava/nio/ByteOrder;)Lio/netty/buffer/ByteBuf; unwrap ()Lio/netty/buffer/ByteBuf; isDirect ()Z
isReadOnly
asReadOnly readerIndex writerIndex setIndex (II)Lio/netty/buffer/ByteBuf;
readableBytes
writableBytes maxWritableBytes maxFastWritableBytes
isReadable (I)Z
isWritable clear markReaderIndex resetReaderIndex markWriterIndex resetWriterIndex discardReadBytes discardSomeReadBytes ensureWritable (IZ)I
getBoolean getByte (I)B getUnsignedByte (I)S getShort
getShortLE getUnsignedShort (I)I getUnsignedShortLE getMedium getMediumLE getUnsignedMedium getUnsignedMediumLE getInt getIntLE getUnsignedInt (I)J getUnsignedIntLE getLong getLongLE getChar (I)C getFloat (I)F
getFloatLE index I getDouble (I)D getDoubleLE getBytes 5(ILio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf; 6(ILio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf; 7(ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf; (I[B)Lio/netty/buffer/ByteBuf; (I[BII)Lio/netty/buffer/ByteBuf; 1(ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf; 3(ILjava/io/OutputStream;I)Lio/netty/buffer/ByteBuf;
Exceptions -(ILjava/nio/channels/GatheringByteChannel;I)I %(ILjava/nio/channels/FileChannel;JI)I getCharSequence 6(IILjava/nio/charset/Charset;)Ljava/lang/CharSequence;
setBoolean (IZ)Lio/netty/buffer/ByteBuf; setByte setShort
setShortLE setMedium setMediumLE setInt setIntLE setLong (IJ)Lio/netty/buffer/ByteBuf; setLongLE setChar setFloat (IF)Lio/netty/buffer/ByteBuf;
setFloatLE value F setDouble (ID)Lio/netty/buffer/ByteBuf; setDoubleLE D setBytes (ILjava/io/InputStream;I)I .(ILjava/nio/channels/ScatteringByteChannel;I)I setZero setCharSequence 6(ILjava/lang/CharSequence;Ljava/nio/charset/Charset;)I readBoolean readByte ()B readUnsignedByte ()S readShort readShortLE readUnsignedShort readUnsignedShortLE
readMedium readMediumLE readUnsignedMedium readUnsignedMediumLE readInt readIntLE readUnsignedInt ()J readUnsignedIntLE readLong
readLongLE readChar ()C readFloat ()F readFloatLE
readDouble ()D readDoubleLE readBytes readSlice readRetainedSlice 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; ([B)Lio/netty/buffer/ByteBuf; ([BII)Lio/netty/buffer/ByteBuf; 0(Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf; 2(Ljava/io/OutputStream;I)Lio/netty/buffer/ByteBuf; ,(Ljava/nio/channels/GatheringByteChannel;I)I readCharSequence 5(ILjava/nio/charset/Charset;)Ljava/lang/CharSequence; $(Ljava/nio/channels/FileChannel;JI)I 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; writeFloatLE writeDouble (D)Lio/netty/buffer/ByteBuf;
writeDoubleLE
writeBytes (Ljava/io/InputStream;I)I -(Ljava/nio/channels/ScatteringByteChannel;I)I writeZero writeCharSequence 5(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)I indexOf (IIB)I bytesBefore (B)I (IB)I forEachByte (Lio/netty/util/ByteProcessor;)I "(IILio/netty/util/ByteProcessor;)I forEachByteDesc copy slice
retainedSlice duplicate retainedDuplicate nioBufferCount nioBuffer ()Ljava/nio/ByteBuffer; (II)Ljava/nio/ByteBuffer; internalNioBuffer
nioBuffers ()[Ljava/nio/ByteBuffer; (II)[Ljava/nio/ByteBuffer; hasArray array ()[B arrayOffset hasMemoryAddress
memoryAddress toString .(Ljava/nio/charset/Charset;)Ljava/lang/String; 0(IILjava/nio/charset/Charset;)Ljava/lang/String; hashCode equals (Ljava/lang/Object;)Z compareTo (Lio/netty/buffer/ByteBuf;)I ()Ljava/lang/String; retain touch -(Ljava/lang/Object;)Lio/netty/buffer/ByteBuf; isAccessible
StackMapTable 4(Ljava/lang/Object;)Lio/netty/util/ReferenceCounted; "()Lio/netty/util/ReferenceCounted; #(I)Lio/netty/util/ReferenceCounted; (Ljava/lang/Object;)I Signature cLjava/lang/Object;Lio/netty/util/ReferenceCounted;Ljava/lang/Comparable;
SourceFile ByteBuf.java 7 ! U N ! ^ Z W"#$%& { 5'( ~ } ? ! ? ? ? " ? ?) ! ? ? ? - ? " ? - io/netty/buffer/ByteBuf ? ? java/lang/Object io/netty/util/ReferenceCounted java/lang/Comparable java/io/IOException java/lang/Float intBitsToFloat java/lang/Double longBitsToDouble (J)D floatToRawIntBits (F)I doubleToRawLongBits (D)J refCnt! ? / *? ? ? ! " # ! $ % &