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

std/io/read_short.ts>readShort

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function readShort
import { readShort } from "https://deno.land/std@0.176.0/io/read_short.ts";

Read big endian 16bit short from BufReader

Returns

Promise<number | null>