toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-js
/
js.buffer
/
DataView
Data
View
external
class
DataView
<
B
:
ArrayBufferLike
>
(
val
buffer
:
B
,
val
byteOffset
:
Int
=
definedExternally
,
val
byteLength
:
Int
=
definedExternally
)
:
ArrayBufferView
<
B
>
(
source
)
Members
Constructors
Data
View
Link copied to clipboard
constructor
(
buffer
:
B
,
byteOffset
:
Int
=
definedExternally
,
byteLength
:
Int
=
definedExternally
)
Properties
buffer
Link copied to clipboard
open
override
val
buffer
:
B
byte
Length
Link copied to clipboard
open
override
val
byteLength
:
Int
byte
Offset
Link copied to clipboard
open
override
val
byteOffset
:
Int
Functions
get
Float32
Link copied to clipboard
fun
getFloat32
(
byteOffset
:
Int
,
littleEndian
:
Boolean
=
definedExternally
)
:
Float
get
Float64
Link copied to clipboard
fun
getFloat64
(
byteOffset
:
Int
,
littleEndian
:
Boolean
=
definedExternally
)
:
Double
get
Int16
Link copied to clipboard
fun
getInt16
(
byteOffset
:
Int
,
littleEndian
:
Boolean
=
definedExternally
)
:
Short
get
Int32
Link copied to clipboard
fun
getInt32
(
byteOffset
:
Int
,
littleEndian
:
Boolean
=
definedExternally
)
:
Int
get
Int8
Link copied to clipboard
fun
getInt8
(
byteOffset
:
Int
)
:
Byte
get
Uint16
Link copied to clipboard
fun
getUint16
(
byteOffset
:
Int
,
littleEndian
:
Boolean
=
definedExternally
)
:
Short
get
Uint32
Link copied to clipboard
fun
getUint32
(
byteOffset
:
Int
,
littleEndian
:
Boolean
=
definedExternally
)
:
Int
get
Uint8
Link copied to clipboard
fun
getUint8
(
byteOffset
:
Int
)
:
Byte
set
Float32
Link copied to clipboard
fun
setFloat32
(
byteOffset
:
Int
,
value
:
Float
,
littleEndian
:
Boolean
=
definedExternally
)
set
Float64
Link copied to clipboard
fun
setFloat64
(
byteOffset
:
Int
,
value
:
Double
,
littleEndian
:
Boolean
=
definedExternally
)
set
Int16
Link copied to clipboard
fun
setInt16
(
byteOffset
:
Int
,
value
:
Short
,
littleEndian
:
Boolean
=
definedExternally
)
set
Int32
Link copied to clipboard
fun
setInt32
(
byteOffset
:
Int
,
value
:
Int
,
littleEndian
:
Boolean
=
definedExternally
)
set
Int8
Link copied to clipboard
fun
setInt8
(
byteOffset
:
Int
,
value
:
Byte
)
set
Uint16
Link copied to clipboard
fun
setUint16
(
byteOffset
:
Int
,
value
:
Short
,
littleEndian
:
Boolean
=
definedExternally
)
set
Uint32
Link copied to clipboard
fun
setUint32
(
byteOffset
:
Int
,
value
:
Int
,
littleEndian
:
Boolean
=
definedExternally
)
set
Uint8
Link copied to clipboard
fun
setUint8
(
byteOffset
:
Int
,
value
:
Byte
)