[ Version ( since = "0.3.8" ) ]
public Bytes get_string_descriptor_bytes_full (uint8 desc_index, uint16 langid, size_t length) throws Error
Get a raw string descriptor from the device.
The returned string should be freed with g_bytes_unref
when no longer needed.
desc_index |
the index for the string descriptor to retrieve |
langid |
the language ID |
length |
size of the request data buffer |
a possibly UTF-16 string, or NULL on error. |