Interface ByteBufOperator
public interface ByteBufOperator
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
int
short
getUnsignedByte
(Object buffer, int index) boolean
boolean
isReadable
(Object buffer) markReaderIndex
(Object buffer) markWriterIndex
(Object buffer) int
readableBytes
(Object buffer) default boolean
readBoolean
(Object buffer) byte
void
default char
default double
readDouble
(Object buffer) int
readerIndex
(Object buffer) readerIndex
(Object buffer, int readerIndex) default float
int
long
int
readMedium
(Object buffer) short
default short
readUnsignedByte
(Object buffer) long
readUnsignedInt
(Object buffer) default int
readUnsignedShort
(Object buffer) int
boolean
resetReaderIndex
(Object buffer) resetWriterIndex
(Object buffer) retainedDuplicate
(Object buffer) int
writableBytes
(Object buffer) default void
writeBoolean
(Object buffer, boolean value) void
writeBytes
(Object buffer, byte[] bytes) writeBytes
(Object buffer, byte[] bytes, int offset, int length) writeBytes
(Object buffer, Object src) default void
default void
writeDouble
(Object buffer, double value) default void
writeFloat
(Object buffer, float value) void
void
void
writeMedium
(Object buffer, int value) int
writerIndex
(Object buffer) writerIndex
(Object buffer, int writerIndex) void
writeShort
(Object buffer, int value)
-
Method Details
-
capacity
-
capacity
-
readerIndex
-
readerIndex
-
writerIndex
-
writerIndex
-
readableBytes
-
writableBytes
-
clear
-
readByte
-
readShort
-
readMedium
-
readInt
-
readUnsignedInt
-
readLong
-
writeByte
-
writeShort
-
writeMedium
-
writeInt
-
writeLong
-
getBytes
-
getUnsignedByte
-
isReadable
-
copy
-
duplicate
-
hasArray
-
array
-
retain
-
retainedDuplicate
-
readSlice
-
readBytes
-
readBytes
-
readBytes
-
writeBytes
-
writeBytes
-
writeBytes
-
release
-
refCnt
-
skipBytes
-
toString
-
markReaderIndex
-
resetReaderIndex
-
markWriterIndex
-
resetWriterIndex
-
readFloat
-
writeFloat
-
readDouble
-
writeDouble
-
readChar
-
writeChar
-
readUnsignedShort
-
readUnsignedByte
-
readBoolean
-
writeBoolean
-