DataView - Web documentation
interface DataView
Unstable

Methods

getFloat16(
byteOffset: number,
littleEndian?: boolean,
): number

Gets the Float16 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.

setFloat16(
byteOffset: number,
value: number,
littleEndian?: boolean,
): void

Stores an Float16 value at the specified byte offset from the start of the view.