Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/bytebuf/bytebuf.ts>ByteBuf#writeUint16

A byte buffer for encoding and decoding binary data in JavaScript.
Latest
method ByteBuf.prototype.writeUint16
import { ByteBuf } from "https://deno.land/x/bytebuf@1.2.0/bytebuf.ts";

Writes the next signed short.

Parameters

value: number

The value.

optional
littleEndian: boolean

If the value is little endian.