Skip to main content

Auxiliary Class

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

Represents additional auxiliary descriptors.

class Auxiliary(BaseDescriptor): ...

Constructors​

Auxiliary(byte[] buffer)​

def __init__(self, buffer: list[int]):

Constructs a new descriptor.

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

Auxiliary(byte[] buffer, int offset)​

def __init__(self, buffer: list[int], offset: int):

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​

Payload: list[int] # @property / @setter

The payload of the descriptor excluding length and type.

Returns byte[]