How to create a language
Animeshz opened this issue · comments
Is there no public API to make an instance of Language? I couldn't find a way to make Language either from a raw hex or from using PrimaryLanguage and SecondaryLanguage.
Lines 11 to 39 in f611e84
For what purpose you need make an instance of Language
?
@a1ien Reading a string descriptor from particular usb device, DeviceHandle::read_string_descriptor
particularly.
You can get Language
from DeviceHandle::read_languages
.
Oh thanks 👀