|
dxd - dynax driver framework 3.0.1d223
cross platform open source driver development framework
|
a string descriptor at its largest, the same on every platform: UTF-16LE, its length device supplied and untrusted; inside it head is its base's injected class name, so the union's member is named qualified More...
#include <dx_usb.h>
Public Member Functions | |
| size_t | operator() (char *utf8, size_t size) const noexcept |
| the characters as UTF-8 into utf8, terminated and cut at a character's boundary, surrogate pairs joined, a lone surrogate U+FFFD; returns the bytes written | |
Public Attributes | |
| char16_t | bString [(static_cast< decltype(descriptor::head.bLength)>(-1) - sizeof(decltype(descriptor::head)))/sizeof(char16_t)] |
a string descriptor at its largest, the same on every platform: UTF-16LE, its length device supplied and untrusted; inside it head is its base's injected class name, so the union's member is named qualified
|
inlinenoexcept |
the characters as UTF-8 into utf8, terminated and cut at a character's boundary, surrogate pairs joined, a lone surrogate U+FFFD; returns the bytes written
| char16_t dx::usb::descriptor::string::bString[(static_cast< decltype(descriptor::head.bLength)>(-1) - sizeof(decltype(descriptor::head)))/sizeof(char16_t)] |
as many as bLength can state
| (c) copyright 2009 dynamic acoustics e.U. | generated on |