Receive exactly the given number of characters from the ASCOM serial port and return as a byte array

Namespace: ASCOM.Utilities.Interfaces
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
byte[] ReceiveCountedBinary(
	int Count
)
Visual Basic
Function ReceiveCountedBinary ( _
	Count As Integer _
) As Byte()
Visual C++
array<unsigned char>^ ReceiveCountedBinary(
	int Count
)

Parameters

Count
Type: System..::..Int32
The number of characters to return

Return Value

Byte array of size "Count" elements

Remarks

If a timeout occurs, a TimeoutException is raised.

This function exists in the COM component but is not documented in the help file.

See Also