toggle menu
openrs2
jvm
switch theme
search in API
openrs2
/
org.openrs2.buffer
/
Arena
Arena
class
Arena
(
alloc
:
ByteBufAllocator
)
:
ByteBufAllocator
,
AutoCloseable
Members
Constructors
Arena
Link copied to clipboard
constructor
(
alloc
:
ByteBufAllocator
)
Functions
buffer
Link copied to clipboard
open
override
fun
buffer
(
)
:
ByteBuf
open
override
fun
buffer
(
initialCapacity
:
Int
)
:
ByteBuf
open
override
fun
buffer
(
initialCapacity
:
Int
,
maxCapacity
:
Int
)
:
ByteBuf
calculate
New
Capacity
Link copied to clipboard
open
override
fun
calculateNewCapacity
(
minNewCapacity
:
Int
,
maxCapacity
:
Int
)
:
Int
close
Link copied to clipboard
open
override
fun
close
(
)
composite
Buffer
Link copied to clipboard
open
override
fun
compositeBuffer
(
)
:
CompositeByteBuf
open
override
fun
compositeBuffer
(
maxNumComponents
:
Int
)
:
CompositeByteBuf
composite
Direct
Buffer
Link copied to clipboard
open
override
fun
compositeDirectBuffer
(
)
:
CompositeByteBuf
open
override
fun
compositeDirectBuffer
(
maxNumComponents
:
Int
)
:
CompositeByteBuf
composite
Heap
Buffer
Link copied to clipboard
open
override
fun
compositeHeapBuffer
(
)
:
CompositeByteBuf
open
override
fun
compositeHeapBuffer
(
maxNumComponents
:
Int
)
:
CompositeByteBuf
direct
Buffer
Link copied to clipboard
open
override
fun
directBuffer
(
)
:
ByteBuf
open
override
fun
directBuffer
(
initialCapacity
:
Int
)
:
ByteBuf
open
override
fun
directBuffer
(
initialCapacity
:
Int
,
maxCapacity
:
Int
)
:
ByteBuf
heap
Buffer
Link copied to clipboard
open
override
fun
heapBuffer
(
)
:
ByteBuf
open
override
fun
heapBuffer
(
initialCapacity
:
Int
)
:
ByteBuf
open
override
fun
heapBuffer
(
initialCapacity
:
Int
,
maxCapacity
:
Int
)
:
ByteBuf
io
Buffer
Link copied to clipboard
open
override
fun
ioBuffer
(
)
:
ByteBuf
open
override
fun
ioBuffer
(
initialCapacity
:
Int
)
:
ByteBuf
open
override
fun
ioBuffer
(
initialCapacity
:
Int
,
maxCapacity
:
Int
)
:
ByteBuf
is
Direct
Buffer
Pooled
Link copied to clipboard
open
override
fun
isDirectBufferPooled
(
)
:
Boolean