LumiSoft Net Help
Read Method (buffer, offset, count)
NamespacesLumiSoft.Net.IOFifoBufferRead(array<Byte>[]()[][], Int32, Int32)
Reads up to specified count of bytes from the FIFO buffer.
Declaration Syntax
C#Visual BasicVisual 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 
Parameters
buffer (array<Byte>[]()[][])
Buffer where to store data.
offset (Int32)
Index in the buffer.
count (Int32)
Maximum number of bytes to read.
Return Value
Int32
Returns number of bytes readed. Returns 0 if no data in the buffer.
Exceptions
ExceptionCondition
ArgumentNullExceptionIs raised when buffer is null reference.
ArgumentOutOfRangeExceptionIs raised when any of the arguments has out of allowed range.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119