Essentia  2.1-beta6-dev
betools.h File Reference
#include <algorithm>
#include <fstream>
#include <cassert>
#include "types.h"

Go to the source code of this file.

Namespaces

 essentia
 

Functions

bool isBigEndian ()
 
template<typename T >
void removeEndianness (T &x)
 
template<typename T >
void bewrite (std::ofstream &out, const T &value)
 
template<>
void bewrite (std::ofstream &out, const std::string &str)
 
template<>
void bewrite (std::ofstream &out, const std::vector< std::string > &v)
 
template<typename T >
void beread (std::ifstream &in, T &value)
 
template<>
void beread (std::ifstream &in, std::string &str)
 
template<>
void beread (std::ifstream &in, std::vector< std::string > &v)