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

Method writeUInt16BE

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

* Writes `value` to `buf` at the specified `offset` as big-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 `writeUint16BE` alias. *

(value: number, offset?: number)

Source from the content-addressed store, hash-verified

923 * @return `offset` plus the number of bytes written.
924 */
925 writeUInt16BE(value: number, offset?: number): number;
926 /**
927 * @alias Buffer.writeUInt16BE
928 */

Callers 1

buffer.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected