MCPcopy Create free account
hub / github.com/awslabs/llrt / writeFloatLE

Method writeFloatLE

types/buffer.d.ts:1104–1104  ·  view source on GitHub ↗

* Writes `value` to `buf` at the specified `offset` as little-endian. Behavior is * undefined when `value` is anything other than a JavaScript number. * * ```js * import { Buffer } from 'buffer'; * * const buf = Buffer.allocUnsafe(4); * * buf.writeFloatLE(0xca

(value: number, offset?: number)

Source from the content-addressed store, hash-verified

1102 * @return `offset` plus the number of bytes written.
1103 */
1104 writeFloatLE(value: number, offset?: number): number;
1105 /**
1106 * Writes `value` to `buf` at the specified `offset` as big-endian. Behavior is
1107 * undefined when `value` is anything other than a JavaScript number.

Callers 1

buffer.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected