Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

BufferUtils.Uint16.toBytes

import { BufferUtils } from "https://raw.githubusercontent.com/i-xi-dev/buffer-utils.es/6.2.3/deps.ts"; 

const { toBytes } = BufferUtils.Uint16;
function toBytes(source: Uint16, littleEndian?): [Uint8, Uint8];
§
toBytes(source: Uint16, littleEndian?): [Uint8, Uint8]
[src]

§Parameters

§
littleEndian? optional
[src]

§Return Type