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

Method readInt32BE

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

* Reads a signed, big-endian 32-bit integer from `buf` at the specified `offset`. * * Integers read from a `Buffer` are interpreted as two's complement signed values. * * ```js * import { Buffer } from 'buffer'; * * const buf = Buffer.from([0, 0, 0, 5]); *

(offset?: number)

Source from the content-addressed store, hash-verified

786 * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`.
787 */
788 readInt32BE(offset?: number): number;
789 /**
790 * Reads a 32-bit, little-endian float from `buf` at the specified `offset`.
791 *

Callers 1

buffer.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected