CdcStream Class
Namespace: GHIElectronics.TinyCLR.Devices.UsbClient · Assembly: GHIElectronics.TinyCLR.Devices.UsbClient
Stream for reading and writing data over a CDC connection.
public class CdcStream : RawDevice.RawStream
Properties
DataAvailable
public override bool DataAvailable { get; }
No description available.
Methods
Write(byte[] buffer, int offset, int count)
public override void Write(byte[] buffer, int offset, int count)
Writes data to the stream.
| Parameter | Type | Description |
|---|---|---|
buffer | byte[] | The buffer from which to write. |
offset | int | The offset into the buffer at which to begin writing. |
count | int | The number of bytes to write. |