Reads up to specified count of bytes from the FIFO buffer.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public int Read( byte[] buffer, int offset, int count )
Public Function Read ( buffer As Byte(), offset As Integer, count As Integer ) As Integer
public: int Read( array<unsigned char>^ buffer, int offset, int count )
member Read : buffer : byte[] * offset : int * count : int -> int
Return Value
Int32
Returns number of bytes readed. Returns 0 if no data in the buffer.
Returns number of bytes readed. Returns 0 if no data in the buffer.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Is raised when buffer is null reference. |
ArgumentOutOfRangeException | Is raised when any of the arguments has out of allowed range. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119