A collection of static methods to perform conversions between strings and byte values (represented as char).
More...
#include <ByteWrapper.h>
|
static char | parseByte (const std::string &s) throw (NumberFormatException) |
| Parse a string supposed to represent a byte value and returns this value. More...
|
|
static std::string | toString (char c) |
| Encode a byte value into its string representation. More...
|
|
A collection of static methods to perform conversions between strings and byte values (represented as char).
Definition at line 37 of file ByteWrapper.h.
Parse a string supposed to represent a byte value and returns this value.
- Parameters
-
- Returns
- a char
- Exceptions
-
static std::string asdm::Byte::toString |
( |
char |
c | ) |
|
|
static |
Encode a byte value into its string representation.
- Parameters
-
c | the byte value to be encoded. |
- Returns
- the string representing the byte value passed as parameter.
const char asdm::Byte::MAX_VALUE |
|
static |
const char asdm::Byte::MIN_VALUE |
|
static |
The documentation for this class was generated from the following file: