Skip to content

setFloat32Le

setFloat32Le(target, offset, value): void

Defined in: packages/core/src/buffer/codec/set-float32-le.ts:12

Writes value into target at offset as a little-endian IEEE 754 single-precision (binary32) float.

The caller is responsible for ensuring that four bytes are available at offset.

Uint8Array

The bytes to write into.

number

The index of the first byte to write.

number

The value to write.

void