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

Method readInt32LE

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

* Reads a signed, little-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

770 * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`.
771 */
772 readInt32LE(offset?: number): number;
773 /**
774 * Reads a signed, big-endian 32-bit integer from `buf` at the specified `offset`.
775 *

Callers 1

buffer.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected