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

std/io/mod.ts>readInt

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.220.0/io/mod.ts";

Read big endian 32bit integer from BufReader

Returns

Promise<number | null>