Skip to content

Modern Fs BufferedReader ReadByte

Paul Squires edited this page Oct 22, 2026 · 3 revisions

Home › Filesystem › File Streams › BufferedReader.ReadByte

BufferedReader.ReadByte

Reads the next byte; returns false at the end.

Syntax

BufferedReader.ReadByte( b )

Notes

  • TRUE with the next byte in b; FALSE at the end.

Examples

#import "std/fs"
using fs

dim as MemoryStream m = MemoryStream( "Z" )
dim as BufferedReader br = BufferedReader( m )
dim as ubyte b
print br.ReadByte( b ).Value( ), b    '' true 90
print br.ReadByte( b ).Value( )       '' false

Library: Filesystem Library Category: File Streams Documented under: Streams

Clone this wiki locally