C# Class CmisSync.Lib.Streams.ForwardReadingStream

Forward reading stream.
Inheritance: StreamWrapper
Show file Open project: OpenDataSpace/CmisSync Class Usage Examples

Public Methods

Method Description
ForwardReadingStream ( Stream nonSeekableStream ) : System

Initializes a new instance of the CmisSync.Lib.Streams.ForwardReadingStream class.

Read ( byte buffer, int offset, int count ) : int

Read the specified buffer, offset and count.

Method Details

ForwardReadingStream() public method

Initializes a new instance of the CmisSync.Lib.Streams.ForwardReadingStream class.
public ForwardReadingStream ( Stream nonSeekableStream ) : System
nonSeekableStream Stream /// Non seekable stream. ///
return System

Read() public method

Read the specified buffer, offset and count.
public Read ( byte buffer, int offset, int count ) : int
buffer byte /// Buffer. ///
offset int /// Offset. ///
count int /// Count. ///
return int