Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/std/io/mod.ts>readShort

A modern runtime for JavaScript and TypeScript.
Go to Latest
function readShort
import { readShort } from "https://deno.land/x/deno@v0.28.0/std/io/mod.ts";

Read big endian 16bit short from BufReader

Returns

Promise<number | Deno.EOF>