Reads line from source stream and stores to specified buffer. This method accepts LF or CRLF lines.
- buffer (Byte[]())
- Buffer where to store line data.
Returns number of bytes stored to buffer, returns -1 if end of stream reached and no more data.
| Exception | Condition |
|---|---|
| ArgumentNullException | Raised when buffer is null. |
| InvalidOperationException | Raised when there already is pending read operation. |
| LineSizeExceededException | Raised when maximum allowed line size has exceeded. |
Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)