Skip to main content

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.

ParameterTypeDescription
bufferbyte[]The buffer from which to write.
offsetintThe offset into the buffer at which to begin writing.
countintThe number of bytes to write.