Writes all stream data to source stream.
Returns number of bytes written to source stream.
| Exception | Condition |
|---|---|
| ArgumentNullException | Raised when stream is null. |
| InvalidOperationException | Raised when there already is pending write operation. |
| DataSizeExceededException | Raised when stream stream has more data than specified by maxSize. |
Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)