C# Class PRI.ProductivityExtensions.TextReaderExtensions.TextReaderable

Class that contains extension methods that extend TextReader
显示文件 Open project: peteraritchie/ProductivityExtensions

Public Methods

Method Description
Read ( this textreader, Char buffer ) : Int32

Extends Read so that buffer offset of 0 and call to Array.Length are not needed. textreader.Read(buffer);

ReadBlock ( this textreader, Char buffer ) : Int32

Extends ReadBlock so that buffer offset of 0 and call to Array.Length are not needed. textreader.ReadBlock(buffer);

Method Details

Read() public static method

Extends Read so that buffer offset of 0 and call to Array.Length are not needed. textreader.Read(buffer);
public static Read ( this textreader, Char buffer ) : Int32
textreader this
buffer Char
return System.Int32

ReadBlock() public static method

Extends ReadBlock so that buffer offset of 0 and call to Array.Length are not needed. textreader.ReadBlock(buffer);
public static ReadBlock ( this textreader, Char buffer ) : Int32
textreader this
buffer Char
return System.Int32