Skip to main content

DataView

interface DataView
unstable
Jump to headinggetFloat16(
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.

Jump to headingsetFloat16(
byteOffset: number,
value: number,
littleEndian?: boolean,
): void

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

Back to top