feisty meow concerns codebase  2.140
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

 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. More...
 
template<class contents >
bool basis::detach_flat (byte_array &source, contents &detached)
 detach_flat() pulls the "detached" object out of the array of bytes. More...