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

Method readInt8

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

* Reads a signed 8-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([-1, 5]); * * console.log(bu

(offset?: number)

Source from the content-addressed store, hash-verified

718 * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 1`.
719 */
720 readInt8(offset?: number): number;
721 /**
722 * Reads a signed, little-endian 16-bit integer from `buf` at the specified`offset`.
723 *

Callers 1

buffer.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected