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

Method readFloatBE

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

* Reads a 32-bit, big-endian float from `buf` at the specified `offset`. * * ```js * import { Buffer } from 'buffer'; * * const buf = Buffer.from([1, 2, 3, 4]); * * console.log(buf.readFloatBE(0)); * // Prints: 2.387939260590663e-38 * ``` * @param [o

(offset?: number)

Source from the content-addressed store, hash-verified

816 * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`.
817 */
818 readFloatBE(offset?: number): number;
819 /**
820 * Reads a 64-bit, little-endian double from `buf` at the specified `offset`.
821 *

Callers 1

buffer.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected