xtd 0.2.0
Loading...
Searching...
No Matches

◆ null()

static null_text_reader & xtd::io::text_reader::null ( )
staticnoexcept

Provides a text_reader with no data to read from.

Remarks
Reading from the null text reader is similar to reading from the end of a stream:
read and peek methods return EOF.
read_block method returns zero.
read_line and read_to_end methods return a string Empty.