toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.memory
/
Uint32Buffer
Uint32Buffer
@
JvmInline
value
class
Uint32Buffer
(
val
buffer
:
Buffer
)
:
TypedBuffer
Members
Members & Extensions
Constructors
Uint32Buffer
Link copied to clipboard
constructor
(
size
:
Int
,
direct
:
Boolean
=
false
)
constructor
(
data
:
UIntArray
,
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
)
:
UInt
get
Array
Link copied to clipboard
fun
getArray
(
index
:
Int
=
0
,
size
:
Int
=
this.size - index
)
:
UIntArray
fun
getArray
(
index
:
Int
,
out
:
UIntArray
,
offset
:
Int
=
0
,
size
:
Int
=
out.size - offset
)
:
UIntArray
set
Link copied to clipboard
operator
fun
set
(
index
:
Int
,
value
:
Int
)
operator
fun
set
(
index
:
Int
,
value
:
UInt
)
set
Array
Link copied to clipboard
fun
setArray
(
index
:
Int
,
inp
:
UIntArray
,
offset
:
Int
=
0
,
size
:
Int
=
inp.size - offset
)
slice
Link copied to clipboard
fun
slice
(
start
:
Int
=
0
,
end
:
Int
=
this.size
)
:
Uint32Buffer
slice
With
Size
Link copied to clipboard
fun
sliceWithSize
(
start
:
Int
=
0
,
size
:
Int
=
this.size - start
)
:
Uint32Buffer