Skip to main content

TextReader Class

Namespace: System.IO · Assembly: GHIElectronics.TinyCLR.IO

No description available.

public abstract class TextReader : MarshalByRefObject, IDisposable

Constructors

TextReader()

protected TextReader()

No description available.

Methods

Close()

public virtual void Close()

When overridden by a descendant class, closes the response stream. (inherited)

Dispose()

public void Dispose()

Releases buffered memory (the unmanaged firmware/application buffers). (inherited)

Dispose(bool disposing)

protected virtual void Dispose(bool disposing)

Closes a response stream, if present. (inherited)

ParameterTypeDescription
disposingboolNot used.

Peek()

public virtual int Peek()

No description available.

Returns int

Read()

public virtual int Read()

Samples the current level of the pin without waiting. (inherited)

Returns int

Read(char[] buffer, int index, int count)

public virtual int Read(char[] buffer, int index, int count)

Reads a block of bytes from the stream. (inherited)

ParameterTypeDescription
bufferchar[]
indexint
countintThe maximun number of bytes to read.

Returns int

ReadBlock(char[] buffer, int index, int count)

public virtual int ReadBlock(char[] buffer, int index, int count)

No description available.

ParameterTypeDescription
bufferchar[]
indexint
countint

Returns int

ReadToEnd()

public virtual string ReadToEnd()

No description available.

Returns string

ReadLine()

public virtual string ReadLine()

No description available.

Returns string