toggle menu
buffer
1.0.0-ALPHA-20250115
jvm
switch theme
search in API
buffer
/
net.rsprot.buffer.bitbuffer
/
UnsafeBitBuf
Unsafe
Bit
Buf
class
UnsafeBitBuf
(
buffer
:
ByteBuf
)
:
BitBuf
Members
Constructors
Unsafe
Bit
Buf
Link copied to clipboard
constructor
(
buffer
:
ByteBuf
)
Functions
capacity
Link copied to clipboard
fun
capacity
(
)
:
Int
fun
capacity
(
bitCount
:
Int
)
:
BitBuf
clear
Link copied to clipboard
fun
clear
(
)
:
BitBuf
close
Link copied to clipboard
open
override
fun
close
(
)
g
Bits
Link copied to clipboard
open
override
fun
gBits
(
count
:
Int
)
:
Int
is
Readable
Link copied to clipboard
fun
isReadable
(
)
:
Boolean
fun
isReadable
(
count
:
Int
)
:
Boolean
is
Writable
Link copied to clipboard
fun
isWritable
(
)
:
Boolean
fun
isWritable
(
len
:
Int
)
:
Boolean
max
Capacity
Link copied to clipboard
fun
maxCapacity
(
)
:
Long
p
Bits
Link copied to clipboard
open
override
fun
pBits
(
src
:
UnsafeLongBackedBitBuf
)
open
override
fun
pBits
(
count
:
Int
,
value
:
Int
)
readable
Bits
Link copied to clipboard
fun
readableBits
(
)
:
Int
reader
Index
Link copied to clipboard
fun
readerIndex
(
)
:
Int
fun
readerIndex
(
index
:
Int
)
:
BitBuf
writer
Index
Link copied to clipboard
fun
writerIndex
(
)
:
Int
fun
writerIndex
(
index
:
Int
)
:
BitBuf