class · System.IO
TextReader
public class System.IO.TextReader : System.Any
Reads text: code points one at a time, lines, or all of it.
- Tipo
- class
- Espacio de nombres
- System.IO
- Ensamblado
- System.Core
- Acceso
- public, abstract
- Archivo fuente
TextIO.ant
Herencia
- Clases base
-
AnyTextReader - Tipos derivados
-
StreamReaderStringReader
Métodos
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
#
Miembros heredados (5)
GetTypemétodo de AnyUndescribedmétodo de AnyToStringmétodo de AnyHashmétodo de Anydestroymétodo de Any
Código fuente
TextReader en Larva HIR, descompilado a partir de su 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
}