Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

std/io/mod.ts>readShort

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

Read big endian 16bit short from BufReader

Returns

Promise<number | null>