Skip to main content
Module

std/io/mod.ts>readShort

The Deno Standard Library
Latest
function readShort
Re-export
Deprecated
Deprecated

This will be removed in 1.0.0. Use the Web Streams API instead.

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

Read big endian 16bit short from BufReader

Returns

Promise<number | null>