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