Class for working with binary data. More...
Public Types | |
| typedef cList< unsigned char > | raw_t |
Public Member Functions | |
| FormatBinary () | |
| Constructor for building an empty binary-object. | |
| bool | operator== (const FormatBinary &b) const |
| Comparison. More... | |
| bool | empty () const |
Returns a TRUE when data is absent. | |
| FormatBinary & | operator() (int i, raw_t::value_type v) |
| Setter like array. More... | |
| raw_t::value_type | operator() (int i) const |
| Getter like array. More... | |
| int | size () const |
| Returns a filled count of bytes. More... | |
| FormatBinary & | append (const raw_t::value_type &d) |
| Appends a byte. More... | |
| FormatBinary & | operator+= (const raw_t::value_type &d) |
| FormatBinary & | prepend (const raw_t::value_type &d) |
| Prepends a byte. More... | |
| FormatBinary & | clear () |
| Clears binary data. More... | |
Protected Member Functions | |
| const raw_t & | raw () const |
| raw_t & | raw () |
Class for working with binary data.
|
inline |
Comparison.
|
inline |
Setter like array.
|
inline |
Getter like array.
|
inline |
Returns a filled count of bytes.
|
inline |
Appends a byte.
|
inline |
|
inline |
Prepends a byte.
|
inline |
Clears binary data.