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
Any TextReader
Tipos derivados
StreamReader StringReader

Métodos

method Peek() -> i32
#

virtual

The next code point without taking it, or -1 at the end.

method Read() -> i32
#

virtual

The next code point, or -1 at the end.

method ReadLine() -> System.String<u8>?
#

virtual

The next line without its line break ("\n" or "\r\n"), or null at the end.

method ReadToEnd() -> System.String<u8>
#

virtual

Everything left.

method Close() -> void
#

virtual

Miembros heredados (5)

Código fuente

TextReader en Larva HIR, descompilado a partir de su Larva HIR.

System.IO.TextReader.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
}
Esc