Module

x/proc/legacy/deps.ts>readShort

A better way to work with processes in Deno.
Very Popular
Latest
function readShort
Deprecated
Deprecated

(will be removed after 1.0.0) Use the [Web Streams API]https://developer.mozilla.org/en-US/docs/Web/API/Streams_API instead.

import { readShort } from "https://dotland.deno.dev/x/proc@0.21.9/legacy/deps.ts";

Read big endian 16bit short from BufReader

Returns

Promise<number | null>
import readShort
import { readShort } from "https://dotland.deno.dev/x/proc@0.21.9/legacy/deps.ts";