Generated by DocFX

Class StreamReaderExtensions

Stream reader extensions.

Inheritance
System.Object
StreamReaderExtensions
Namespace: ISynergy.Framework.Core.Extensions
Assembly: ISynergy.Framework.Core.dll
Syntax
public static class StreamReaderExtensions : object

Methods

View Source

GetPosition(StreamReader)

Gets the underlying buffer position for a StreamReader.

Declaration
public static long GetPosition(this StreamReader reader)
Parameters
Type Name Description
StreamReader reader

A StreamReader whose position will be retrieved.

Returns
Type Description
System.Int64

The current offset from the beginning of the file that the StreamReader is currently located into.