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

std/io/mod.ts>BufReader#readByte

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method BufReader.prototype.readByte
Re-export
import { BufReader } from "https://deno.land/std@0.95.0/io/mod.ts";

Returns the next byte [0, 255] or null.

Returns

Promise<number | null>