class · System.IO
TextReader
public class System.IO.TextReader : System.Any
Reads text: code points one at a time, lines, or all of it.
- Kind
- class
- Namespace
- System.IO
- Assembly
- System.Core
- Access
- public, abstract
- Source file
TextIO.ant
Inheritance
- Base classes
-
AnyTextReader - Derived types
-
StreamReaderStringReader
Methods
The next code point without taking it, or -1 at the end.
The next code point, or -1 at the end.
method ReadLine() -> System.String<u8>?
#
The next line without its line break ("\n" or "\r\n"), or null at the end.
method ReadToEnd() -> System.String<u8>
#
Everything left.
method Close() -> void
#
Inherited members (5)
GetTypemethod from AnyUndescribedmethod from AnyToStringmethod from AnyHashmethod from Anydestroymethod from Any
Source
TextReader as Larva HIR, decompiled from its Larva HIR.
// Reads text: code points one at a time, lines, or all of it.
public class System.IO.TextReader : System.Any
{
// The next code point without taking it, or -1 at the end.
method Peek() -> i32
// The next code point, or -1 at the end.
method Read() -> i32
// The next line without its line break ("\n" or "\r\n"), or null at the end.
method ReadLine() -> System.String<u8>?
// Everything left.
method ReadToEnd() -> System.String<u8>
method Close() -> void
}