Home Cooker Classes Others Rice CookerGX
Classes  >  reader  >  EndOfStream
reader class : EndOfStream getter

Description

Gets a value that indicates whether the current stream position is at the end of the stream.

Syntax

readerInstance.EndOfStream

Arguments

None

Return value

ClassDescription
boolA value that indicates whether the current stream position is at the end of the stream.

Sample code

//anyReader is an any instance of reader type.

bool eos = anyReader.EndOfStream;

Notes

It's a wrapper of the System.IO.StreamReader.EndOfStream.

Returns true if the current stream position is at the end of the stream. Otherwise returns false.

Links for reference

Copyright © Rice All rights reserved.