Read Method

Navigation:  Reference Guide > Serial Communication > Methods >

Read Method

Previous pageReturn to chapter overviewNext page

Reads a certain number of bytes from the input buffer.

[Visual Basic .NET]

Public Function Read(ByVal Count As Long) As Byte()

[C#]

public byte[] Read(long Count);

Parameters

Count

    The number of bytes to read from the input buffer.

 

Return Value

A byte array containing the bytes read from the input buffer.

 

Remarks

You can use this method to read partial data in the input buffer, the InputData property returns all available data in the input buffer.

 

See Also

InputData Property