Skip to main content

Auxiliary Class

Package: GHIElectronics.Endpoint.Devices.UsbHost
Namespace: GHIElectronics.Endpoint.Devices.UsbHost.Descriptors

Represents additional auxiliary descriptors.

public class Auxiliary : BaseDescriptor

Constructors​

Auxiliary(byte[] buffer)​

public Auxiliary(byte[] buffer)

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)

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.

Returns byte[]