ByteArray.h File Reference

A class for representing binary data. More...

#include "AbstractData.h"
#include "Enums.h"
#include <boost/cstdint.hpp>

Go to the source code of this file.

Classes

class  te::dt::ByteArray
 A class for representing binary data. More...
 

Namespaces

 te
 URI C++ Library.
 
 te::dt
 Namespace for the Data Type module of TerraLib.
 

Functions

template<class T >
te::dt::ByteArrayoperator<< (te::dt::ByteArray &barray, T val)
 It writes the bytes from val to the byte array. More...
 

Detailed Description

A class for representing binary data.

Definition in file ByteArray.h.

Function Documentation

template<class T >
te::dt::ByteArray& operator<< ( te::dt::ByteArray barray,
val 
)
inline

It writes the bytes from val to the byte array.

Parameters
barrayA byte array container.
valA simple data type value like: an int, a double or a float.
Returns
The byte array.

Definition at line 227 of file ByteArray.h.

References te::dt::ByteArray::bytesUsed(), and te::dt::ByteArray::copy().