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

Method writeFloatBE

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

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

(value: number, offset?: number)

Source from the content-addressed store, hash-verified

1121 * @return `offset` plus the number of bytes written.
1122 */
1123 writeFloatBE(value: number, offset?: number): number;
1124 /**
1125 * Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a JavaScript number. Behavior is undefined when `value` is anything
1126 * other than a JavaScript number.

Callers 1

buffer.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected