Class BufferedReader
A buffered reader for a Stream
Inheritance
BufferedReader
Assembly: VoltRpc.dll
Syntax
public class BufferedReader : IDisposable
Constructors
|
Improve this Doc
View Source
BufferedReader(Stream, Int32)
Declaration
public BufferedReader(Stream incoming, int bufferSize = 8000)
Parameters
Fields
|
Improve this Doc
View Source
IncomingStream
Declaration
protected readonly Stream IncomingStream
Field Value
Properties
|
Improve this Doc
View Source
IncomingStreamPosition
You may need to override this if your Stream requires it
Declaration
protected virtual long IncomingStreamPosition { get; set; }
Property Value
|
Improve this Doc
View Source
Length
Declaration
public int Length { get; }
Property Value
|
Improve this Doc
View Source
Position
The current position of the buffer
Declaration
public int Position { get; }
Property Value
Methods
|
Improve this Doc
View Source
Dispose()
Declaration
|
Improve this Doc
View Source
ReadByte()
Declaration
Returns
Exceptions
|
Improve this Doc
View Source
ReadBytesSegment(Int32)
Declaration
public ArraySegment<byte> ReadBytesSegment(int count)
Parameters
Type |
Name |
Description |
Int32 |
count |
|
Returns
Exceptions
|
Improve this Doc
View Source
ReadString()
Declaration
public string ReadString()
Returns
Exceptions
Implements
Extension Methods