Skip to main content

Auxiliary Class

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

Represents additional auxiliary descriptors.

class Auxiliary : public BaseDescriptor {};

Constructors​

Auxiliary(byte[] buffer)​

Auxiliary(const std::vector<uint8_t>& buffer);

Constructs a new descriptor.

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

Auxiliary(byte[] buffer, int offset)​

Auxiliary(const std::vector<uint8_t>& buffer, int32_t 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​

std::vector<uint8_t> Payload() const;
void Payload(std::vector<uint8_t> value);

The payload of the descriptor excluding length and type.

Returns byte[]