Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Reads a number of bytes from the SerialPort input buffer and writes those bytes into a byte array at the specified offset.
Namespace: System.IO.Ports
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)
Syntax
[MethodImplAttribute(InternalCall)]
public int Read (
byte[] buffer,
intoffset,
intcount
)
Parameters
- buffer
The byte array to write the input to. - offset
The offset in the buffer array to begin writing - count
The number of bytes to read.
Return Value
The number of bytes read.
Version Information
Available in the .NET Micro Framework versions 3.0, 4.0, and 4.1.
See Also
Reference
SerialPort Class
SerialPort Members
System.IO.Ports Namespace