toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.memory
/
Int64Buffer
Int64Buffer
@
JvmInline
value
class
Int64Buffer
(
val
buffer
:
Buffer
)
:
TypedBuffer
Members
Members & Extensions
Constructors
Int64Buffer
Link copied to clipboard
constructor
(
size
:
Int
,
direct
:
Boolean
=
false
)
constructor
(
data
:
LongArray
,
offset
:
Int
=
0
,
size
:
Int
=
data.size - offset
)
constructor
(
buffer
:
Buffer
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
buffer
Link copied to clipboard
open
override
val
buffer
:
Buffer
element
Size
In
Bytes
Link copied to clipboard
open
override
val
elementSizeInBytes
:
Int
size
Link copied to clipboard
open
override
val
size
:
Int
Functions
as
Float32
Link copied to clipboard
fun
TypedBuffer
.
asFloat32
(
)
:
Float32Buffer
as
Float64
Link copied to clipboard
fun
TypedBuffer
.
asFloat64
(
)
:
Float64Buffer
as
Int16
Link copied to clipboard
fun
TypedBuffer
.
asInt16
(
)
:
Int16Buffer
as
Int32
Link copied to clipboard
fun
TypedBuffer
.
asInt32
(
)
:
Int32Buffer
as
Int64
Link copied to clipboard
fun
TypedBuffer
.
asInt64
(
)
:
Int64Buffer
as
Int8
Link copied to clipboard
fun
TypedBuffer
.
asInt8
(
)
:
Int8Buffer
as
UInt16
Link copied to clipboard
fun
TypedBuffer
.
asUInt16
(
)
:
Uint16Buffer
as
UInt8
Link copied to clipboard
fun
TypedBuffer
.
asUInt8
(
)
:
Uint8Buffer
get
Link copied to clipboard
operator
fun
get
(
index
:
Int
)
:
Long
get
Array
Link copied to clipboard
fun
getArray
(
index
:
Int
=
0
,
size
:
Int
=
this.size - index
)
:
LongArray
fun
getArray
(
index
:
Int
,
out
:
LongArray
,
offset
:
Int
=
0
,
size
:
Int
=
out.size - offset
)
:
LongArray
set
Link copied to clipboard
operator
fun
set
(
index
:
Int
,
value
:
Long
)
set
Array
Link copied to clipboard
fun
setArray
(
index
:
Int
,
inp
:
LongArray
,
offset
:
Int
=
0
,
size
:
Int
=
inp.size - offset
)
slice
Link copied to clipboard
fun
slice
(
start
:
Int
=
0
,
end
:
Int
=
this.size
)
:
Int64Buffer
slice
With
Size
Link copied to clipboard
fun
sliceWithSize
(
start
:
Int
=
0
,
size
:
Int
=
this.size - start
)
:
Int64Buffer