DataView.setFloat16 - Web documentation
method DataView.setFloat16
DataView.setFloat16(
byteOffset: number,
value: number,
littleEndian?: boolean,
): void

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

Parameters

byteOffset: number

The place in the buffer at which the value should be set.

value: number

The value to set.

optional
littleEndian: boolean

If false or undefined, a big-endian value should be written.

Return Type

void