Method Eof Eof() Specifies whether byte slice stream has reached its end. Declaration public bool Eof() Returns Type Description System.Boolean true if byte slice stream has reached its end; otherwise, false.