class GetStringDescriptor

Defined at line 105 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.device/fuchsia.hardware.usb.device/cpp/fidl/fuchsia.hardware.usb.device/cpp/markers.h

Fetches a string descriptor from the USB device.

desc_id : The ID of the string descriptor to fetch, or 0 to fetch

the language table instead.

lang_id : The language ID of the string descriptor to fetch.

If no matching language ID is present in the device's language

ID table, the first entry of the language ID table will

be substituted.

actual_lang_id : The actual language ID of the string fetched, or 0 for

the language ID table.

The worst case size for the payload of a language ID table should be 252

bytes, meaning that a 256 byte buffer should always be enough to hold any

language ID table.

The worst case size for a UTF-8 encoded string descriptor payload should be

378 bytes (126 UTF-16 code units with a worst case expansion factor of 3)

Public Members

static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal