ByteOrder Conversion utility.
More...
ByteOrder Conversion utility.
Definition at line 165 of file dd_common_types.h.
◆ fromString()
static ByteOrder fromString |
( |
const std::string & |
byte_order, |
|
|
const ByteOrder & |
default_val = ByteOrder::platform_not_supported |
|
) |
| |
|
static |
convert a string to a byte_order.
- Parameters
-
byte_order | the byte_order string |
default_val | if not set or invalid, the default byte_order to return. |
- Returns
- ByteOrder
◆ toString()
static std::string toString |
( |
ByteOrder |
byte_order | ) |
|
|
static |