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

Method writeUInt16LE

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

* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid unsigned 16-bit integer. Behavior is undefined when `value` is * anything other than an unsigned 16-bit integer. * * This function is also available under the `writeUint16LE` alias.

(value: number, offset?: number)

Source from the content-addressed store, hash-verified

897 * @return `offset` plus the number of bytes written.
898 */
899 writeUInt16LE(value: number, offset?: number): number;
900 /**
901 * @alias Buffer.writeUInt16LE
902 */

Callers 1

buffer.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected