hunt-net ~master (2022-02-18T10:07:33Z)
Home
Dub
Repo
ByteBuf.capacity
hunt
net
buffer
ByteBuf
ByteBuf
Returns the number of bytes (octets) this buffer can contain.
int
capacity
()
class
ByteBuf
abstract
int
capacity
(
)
ByteBuf
capacity
(int newCapacity)
Meta
Source
See Implementation
hunt
net
buffer
ByteBuf
ByteBuf
functions
alloc
array
arrayOffset
asReadOnly
bytesBefore
capacity
clear
compareTo
copy
discardReadBytes
discardSomeReadBytes
duplicate
ensureWritable
forEachByte
forEachByteDesc
getBoolean
getByte
getBytes
getChar
getCharSequence
getDouble
getDoubleLE
getFloat
getFloatLE
getInt
getIntLE
getLong
getLongLE
getMedium
getMediumLE
getReadableBytes
getShort
getShortLE
getUnsignedByte
getUnsignedInt
getUnsignedIntLE
getUnsignedMedium
getUnsignedMediumLE
getUnsignedShort
getUnsignedShortLE
hasArray
hasMemoryAddress
indexOf
internalNioBuffer
isAccessible
isDirect
isReadOnly
isReadable
isWritable
markReaderIndex
markWriterIndex
maxCapacity
maxFastWritableBytes
maxWritableBytes
memoryAddress
nioBuffer
nioBufferCount
nioBuffers
opEquals
order
readBoolean
readByte
readBytes
readChar
readCharSequence
readDouble
readDoubleLE
readFloat
readFloatLE
readInt
readIntLE
readLong
readLongLE
readMedium
readMediumLE
readRetainedSlice
readShort
readShortLE
readSlice
readUnsignedByte
readUnsignedInt
readUnsignedIntLE
readUnsignedMedium
readUnsignedMediumLE
readUnsignedShort
readUnsignedShortLE
readableBytes
readerIndex
resetReaderIndex
resetWriterIndex
retain
retainedDuplicate
retainedSlice
setBoolean
setByte
setBytes
setChar
setCharSequence
setDouble
setDoubleLE
setFloat
setFloatLE
setIndex
setInt
setIntLE
setLong
setLongLE
setMedium
setMediumLE
setShort
setShortLE
setZero
skipBytes
slice
toHash
toString
touch
unwrap
writableBytes
writeBoolean
writeByte
writeBytes
writeChar
writeCharSequence
writeDouble
writeDoubleLE
writeFloat
writeFloatLE
writeInt
writeIntLE
writeLong
writeLongLE
writeMedium
writeMediumLE
writeShort
writeShortLE
writeZero
writerIndex
Returns the number of bytes (octets) this buffer can contain.