Skip to main content
Module

std/io/mod.ts>readShort

Deno standard library
Latest
function readShort
Re-export
Deprecated
Deprecated

(will be removed after 1.0.0) Use the Web Streams API instead.

import { readShort } from "https://deno.land/std@0.217.0/io/mod.ts";

Read big endian 16bit short from BufReader

Returns

Promise<number | null>