Class for working with binary data.
More...
#include <SFormatBinary.h>
Class for working with binary data.
- Since
- 4.5.32
coat::scripto::FormatBinary::FormatBinary |
( |
| ) |
|
|
inline |
Constructor for building an empty binary-object.
FormatBinary& coat::scripto::FormatBinary::append |
( |
const raw_t::value_type & |
d | ) |
|
|
inline |
Appends a byte.
a.append( 0x49 );
a += 0x20;
a += 0x49;
Referenced by operator+=().
bool coat::scripto::FormatBinary::empty |
( |
| ) |
const |
|
inline |
Returns a TRUE
when data is absent.
FormatBinary& coat::scripto::FormatBinary::operator() |
( |
int |
i, |
|
|
raw_t::value_type |
v |
|
) |
| |
|
inline |
raw_t::value_type coat::scripto::FormatBinary::operator() |
( |
int |
i | ) |
const |
|
inline |
Getter like array.
uint8 first = a[ 0 ];
uint8 second = a[ 1 ];
uint8 last = a[ 5 ];
FormatBinary& coat::scripto::FormatBinary::operator+= |
( |
const raw_t::value_type & |
d | ) |
|
|
inline |
bool coat::scripto::FormatBinary::operator== |
( |
const FormatBinary & |
b | ) |
const |
|
inline |
FormatBinary& coat::scripto::FormatBinary::prepend |
( |
const raw_t::value_type & |
d | ) |
|
|
inline |
Prepends a byte.
a.prepend( 0x4e );
a.prepend( 0x50 );
a.prepend( 0x89 );
int coat::scripto::FormatBinary::size |
( |
| ) |
const |
|
inline |
Returns a filled count of bytes.
The documentation for this class was generated from the following file:
- 3d-coat/3D-CoatV4/3D-Coat/Scripto/SFormatBinary.h