Utility functions for working with the Encoding enum.
More...
Utility functions for working with the Encoding enum.
◆ EncodingUtils()
midi_ci::EncodingUtils::EncodingUtils |
( |
| ) |
|
|
delete |
◆ toString()
static const char * midi_ci::EncodingUtils::toString |
( |
Encoding | e | ) |
|
|
static |
Converts an Encoding to a human-readable string.
◆ toEncoding()
static std::optional< Encoding > midi_ci::EncodingUtils::toEncoding |
( |
const char * | str | ) |
|
|
static |
Converts an encoding string from a property exchange JSON header to an Encoding.