Skip to main content
Module

x/bytebuf/bytebuf.ts>ByteBuf#setInt16

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

Sets a signed short.

Parameters

byteOffset: number

The byte offset.

value: number

The value.

optional
littleEndian: boolean

If the value is little endian.