StreamReader

Overview

Location

Instance Methods


constructor  protected    (declared in TextReader) .NET, .NET Core 5.0, .NET Standard 2.0, Island

 

constructor

 

StreamReader()

 

init()

 

Sub New()

constructor (Stream)

 

constructor(stream: Stream)

 

StreamReader(Stream stream)

 

init(_ stream: Stream)

 

Sub New(stream As Stream)

Parameters:

  • stream:

Close  override

 

method Close

 

void Close()

 

func Close()

 

Sub Close()

Dispose  virtual    (declared in TextReader)

 

method Dispose

 

void Dispose()

 

func Dispose()

 

Sub Dispose()

Flush  virtual    (declared in TextReader)

 

method Flush

 

void Flush()

 

func Flush()

 

Sub Flush()

Peek  override

 

method Peek: Int32

 

Int32 Peek()

 

func Peek() -> Int32

 

Function Peek() As Int32

Read  override

 

method Read: Int32

 

Int32 Read()

 

func Read() -> Int32

 

Function Read() As Int32

Read (array of Char, Int32, Int32): Int32  override

 

method Read(buffer: array of Char; index: Int32; count: Int32): Int32

 

Int32 Read(Char[] buffer, Int32 index, Int32 count)

 

func Read(_ buffer: Char..., _ index: Int32, _ count: Int32) -> Int32

 

Function Read(buffer As Char(), index As Int32, count As Int32) As Int32

Parameters:

  • buffer:
  • index:
  • count:

ReadLine  override

 

method ReadLine: String

 

String ReadLine()

 

func ReadLine() -> String

 

Function ReadLine() As String

ReadToEnd  override

 

method ReadToEnd: String

 

String ReadToEnd()

 

func ReadToEnd() -> String

 

Function ReadToEnd() As String