Skip to main content

getFloat16

method DataView.getFloat16
Jump to headingDataView.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.

Parameters Jump to heading

Jump to headingbyteOffset: number

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

optional
Jump to headinglittleEndian: boolean

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

Return Type Jump to heading

number
Back to top