Reades all data from the specified stream and writes it to source stream. Period handlign and period terminator is added as required.
Returns number of bytes written to source stream. Note this value differs from
stream readed bytes count because of period handling and period terminator.
| Exception | Condition |
|---|---|
| ArgumentNullException | Raised when stream is null. |
| InvalidOperationException | Raised when there already is pending write operation. |
| LineSizeExceededException | Raised when stream contains line with bigger line size than allowed. |
| DataSizeExceededException | Raised when stream has more data than maxSize allows.. |
Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)