ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
endian.h File Reference
#include <algorithm>
Include dependency graph for endian.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 colmap
 

Functions

template<typename T >
colmap::ReverseBytes (const T &data)
 
bool colmap::IsLittleEndian ()
 
bool colmap::IsBigEndian ()
 
template<typename T >
colmap::LittleEndianToNative (const T x)
 
template<typename T >
colmap::BigEndianToNative (const T x)
 
template<typename T >
colmap::NativeToLittleEndian (const T x)
 
template<typename T >
colmap::NativeToBigEndian (const T x)
 
template<typename T >
colmap::ReadBinaryLittleEndian (std::istream *stream)
 
template<typename T >
void colmap::ReadBinaryLittleEndian (std::istream *stream, std::vector< T > *data)
 
template<typename T >
void colmap::WriteBinaryLittleEndian (std::ostream *stream, const T &data)
 
template<typename T >
void colmap::WriteBinaryLittleEndian (std::ostream *stream, const std::vector< T > &data)