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

x/socket_client/deps.ts>readShort

A simple WebSocket client for Deno
Latest
function readShort
import { readShort } from "https://deno.land/x/socket_client@0.1.0-alpha.1/deps.ts";

Read big endian 16bit short from BufReader

Returns

Promise<number | null>