byte_array.h File Reference

#include "array.h"
#include "base_string.h"
#include "contracts.h"
#include "definitions.h"
#include <string.h>
Include dependency graph for byte_array.h:

Go to the source code of this file.

Classes

class  basis::byte_array
 A very common template for a dynamic array of bytes. More...
class  basis::packable
 A base class for objects that can pack into an array of bytes. More...

Namespaces

namespace  basis
 

The guards collection helps in testing preconditions and reporting errors.


Functions

template<class contents >
void basis::attach_flat (byte_array &target, const contents &attachment)
 attach_flat() places a copy of "attachment" onto the array of bytes.
template<class contents >
bool basis::detach_flat (byte_array &source, contents &detached)
 detach_flat() pulls the "detached" object out of the array of bytes.
Generated on Sat Jan 28 04:23:14 2012 for hoople2 project by  doxygen 1.6.3