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

std/io/mod.ts>readInt

The Deno Standard Library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function readInt
Re-export
Deprecated
Deprecated

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

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

Read big endian 32bit integer from BufReader

Returns

Promise<number | null>