A collection of static methods to perform conversions between strings and byte values (represented as char).
More...
#include <ByteWrapper.h>
List of all members.
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 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.
|
Detailed Description
A collection of static methods to perform conversions between strings and byte values (represented as char).
Definition at line 39 of file ByteWrapper.h.
Member Function Documentation
Parse a string supposed to represent a byte value and returns this value.
- Parameters:
-
- Returns:
- a char
- Exceptions:
-
Parse a string supposed to represent a byte value and returns this value.
- Parameters:
-
- Returns:
- a char
- Exceptions:
-
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.
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.
Member Data Documentation
The documentation for this class was generated from the following files: