A collection of static methods to perform conversions between strings and byte values (represented as char). More...
#include <ByteWrapper.h>
Static Public Member Functions | |
static char | parseByte (const string &s) throw (NumberFormatException) |
Parse a string supposed to represent a byte value and returns this value. | |
static string | toString (char c) |
Encode a byte value into its string representation. | |
Static Public Attributes | |
static const char | MIN_VALUE |
The minimum value for a Byte. | |
static const char | MAX_VALUE |
The maximum value for a Byte. |
A collection of static methods to perform conversions between strings and byte values (represented as char).
Definition at line 39 of file ByteWrapper.h.
static char asdm::Byte::parseByte | ( | const string & | s | ) | throw (NumberFormatException) [static] |
Parse a string supposed to represent a byte value and returns this value.
s | the string to parse |
NumberFormatException. |
static string asdm::Byte::toString | ( | char | c | ) | [static] |
Encode a byte value into its string representation.
c | the byte value to be encoded. |
const char asdm::Byte::MAX_VALUE [static] |
The maximum value for a Byte.
Definition at line 66 of file ByteWrapper.h.
const char asdm::Byte::MIN_VALUE [static] |
The minimum value for a Byte.
Definition at line 61 of file ByteWrapper.h.