Hevea documentation

DualStreamReader.ReadInto Method (Stream, Int32)

Reads an account of byte into a stream.

public int ReadInto(
   Stream destinationStream,
   int count
);

Parameters

destinationStream
destination stream
count
count of bytes to read

Return Value

count of bytes really read

Exceptions

Exception Type Condition
ArgumentNullException destinationStream is null
ArgumentException the destination stream must be writable
IOException an I/O error occurs
ObjectDisposedException the base stream has been closed

See Also

DualStreamReader Class | Hevea.Core.Net Namespace | DualStreamReader.ReadInto Overload List