Skip to content

Modern Fs Stream CanRead

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

Home › Filesystem › File Streams › Stream.CanRead

Stream.CanRead

Returns true if Read can succeed on this stream.

Syntax

Stream.CanRead( )

Notes

  • Whether Read can succeed. Constant for the life of an open stream; false for Stream itself.

Examples

#import "std/fs"
using fs

dim as MemoryStream m
dim as Stream s
print m.CanRead( ), s.CanRead( )    '' true false

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

Clone this wiki locally