Skip to main content

setFloat16

method DataView.setFloat16
Jump to headingDataView.setFloat16(
byteOffset: number,
value: number,
littleEndian?: boolean,
): void

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

Parameters Jump to heading

Jump to headingbyteOffset: number

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

Jump to headingvalue: number

The value to set.

optional
Jump to headinglittleEndian: boolean

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

Return Type Jump to heading

void
Back to top