byte_array.h File Reference

#include "array.cpp"
#include "object_base.h"
#include <memory.h>

Include dependency graph for byte_array.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  byte_array
 A very common template for a dynamic array of bytes. More...

Functions

template<class contents>
void attach_flat (byte_array &target, const contents &attachment)
 attach_flat() places a copy of "attachment" onto the array of bytes.
template<class contents>
bool detach_flat (byte_array &source, contents &detached)
 detach_flat() pulls the "detached" object out of the array of bytes.


Function Documentation

template<class contents>
void attach_flat ( byte_array target,
const contents &  attachment 
)

attach_flat() places a copy of "attachment" onto the array of bytes.

Definition at line 68 of file byte_array.h.

References array< contents >::concatenate().

template<class contents>
bool detach_flat ( byte_array source,
contents &  detached 
)

detach_flat() pulls the "detached" object out of the array of bytes.

Definition at line 73 of file byte_array.h.

References array< contents >::length(), array< contents >::observe(), and array< contents >::zap().


Generated on Fri Nov 28 04:29:51 2008 for HOOPLE Libraries by  doxygen 1.5.1