Skip to main content

Auxiliary Class

Namespace: GHIElectronics.TinyCLR.Devices.UsbHost.Descriptors · Assembly: GHIElectronics.TinyCLR.Devices.UsbHost

Represents additional auxiliary descriptors.

public class Auxiliary : BaseDescriptor

Constructors

Auxiliary(byte[] buffer)

public Auxiliary(byte[] buffer) : this(buffer, 0)

Constructs a new descriptor.

ParameterTypeDescription
bufferbyte[]The buffer with which to populate the descriptor.

Auxiliary(byte[] buffer, int offset)

public Auxiliary(byte[] buffer, int offset) : base((Descriptors.DescriptorType)buffer[offset + 1], buffer[offset])

Constructs a new descriptor.

ParameterTypeDescription
bufferbyte[]The buffer with which to populate the descriptor.
offsetintThe offset into the buffer at which to start.

Properties

Payload

public byte[] Payload { get; set; }

The payload of the descriptor excluding length and type.