toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.datastructure
/
FloatRingBuffer
Float
Ring
Buffer
class
FloatRingBuffer
(
val
bits
:
Int
)
Members
Constructors
Float
Ring
Buffer
Link copied to clipboard
constructor
(
bits
:
Int
)
Properties
available
Read
Link copied to clipboard
var
availableRead
:
Int
available
Write
Link copied to clipboard
var
availableWrite
:
Int
bits
Link copied to clipboard
val
bits
:
Int
total
Size
Link copied to clipboard
val
totalSize
:
Int
Functions
clear
Link copied to clipboard
fun
clear
(
)
content
Hash
Code
Link copied to clipboard
fun
contentHashCode
(
)
:
Int
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
peek
Link copied to clipboard
fun
peek
(
offset
:
Int
=
0
)
:
Float
read
Link copied to clipboard
@
JvmOverloads
fun
read
(
data
:
FloatArray
,
offset
:
Int
=
0
,
size
:
Int
=
data.size - offset
)
:
Int
write
Link copied to clipboard
@
JvmOverloads
fun
write
(
data
:
FloatArray
,
offset
:
Int
=
0
,
size
:
Int
=
data.size - offset
)
:
Int
write
Head
Link copied to clipboard
@
JvmOverloads
fun
writeHead
(
data
:
FloatArray
,
offset
:
Int
=
0
,
size
:
Int
=
data.size - offset
)
:
Int