ReadBufferFill Method (Byte, Int32, Int32) |
Namespace: Lawo.IO
public void Fill( byte[] buffer, int offset, int count )
Exception | Condition |
---|---|
ArgumentException | The length of buffer is less than offset plus count. |
ArgumentNullException | buffer equals null. |
ArgumentOutOfRangeException | offset and/or count are negative. |
EndOfStreamException | The end of the stream has been reached before buffer could be filled to count bytes. |
InvalidOperationException | The ReadBuffer object was created by calling ReadBuffer(ReadAsyncCallback, Int32). |