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

Method writeInt16LE

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

* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid signed 16-bit integer. Behavior is undefined when `value` is * anything other than a signed 16-bit integer. * * The `value` is interpreted and written as a two's complement signed intege

(value: number, offset?: number)

Source from the content-addressed store, hash-verified

1021 * @return `offset` plus the number of bytes written.
1022 */
1023 writeInt16LE(value: number, offset?: number): number;
1024 /**
1025 * Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid signed 16-bit integer. Behavior is undefined when `value` is
1026 * anything other than a signed 16-bit integer.

Callers 1

buffer.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected