deno.com
interface DataView
unstable

Type Parameters #

#TArrayBuffer extends ArrayBufferLike

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.