Binary manipulation functions
Definition in file BinUtils.hpp.
#include <cstring>#include <algorithm>#include "gnsstk_export.h"#include "gnsstkplatform.h"#include "Exception.hpp"#include <memory.h>

Go to the source code of this file.
Classes | |
| class | gnsstk::BinUtils::CRCParam |
| Encapsulate parameters for CRC computation. More... | |
Namespaces | |
| gnsstk | |
| For Sinex::InputHistory. | |
| gnsstk::BinUtils | |
Functions | |
| void | gnsstk::BinUtils::buhtoid (void *p, double v, unsigned pos=0) |
| void | gnsstk::BinUtils::buhtoif (void *p, float v, unsigned pos=0) |
| void | gnsstk::BinUtils::buhtoil (void *p, uint32_t v, unsigned pos=0) |
| void | gnsstk::BinUtils::buhtoill (void *p, uint64_t v, unsigned pos=0) |
| void | gnsstk::BinUtils::buhtois (void *p, uint16_t v, unsigned pos=0) |
| void | gnsstk::BinUtils::buhtoisl (void *p, int32_t v, unsigned pos=0) |
| void | gnsstk::BinUtils::buhtoisll (void *p, int64_t v, unsigned pos=0) |
| void | gnsstk::BinUtils::buhtoiss (void *p, int16_t v, unsigned pos=0) |
| void | gnsstk::BinUtils::buhtond (void *p, double v, unsigned pos=0) |
| void | gnsstk::BinUtils::buhtonf (void *p, float v, unsigned pos=0) |
| void | gnsstk::BinUtils::buhtonl (void *p, uint32_t v, unsigned pos=0) |
| void | gnsstk::BinUtils::buhtonll (void *p, uint64_t v, unsigned pos=0) |
| void | gnsstk::BinUtils::buhtons (void *p, uint16_t v, unsigned pos=0) |
| void | gnsstk::BinUtils::buhtonsl (void *p, int32_t v, unsigned pos=0) |
| void | gnsstk::BinUtils::buhtonsll (void *p, int64_t v, unsigned pos=0) |
| void | gnsstk::BinUtils::buhtonss (void *p, int16_t v, unsigned pos=0) |
| void | gnsstk::BinUtils::buitohd (const void *p, double &v, unsigned pos=0) |
| void | gnsstk::BinUtils::buitohf (const void *p, float &v, unsigned pos=0) |
| void | gnsstk::BinUtils::buitohl (const void *p, uint32_t &v, unsigned pos=0) |
| void | gnsstk::BinUtils::buitohll (const void *p, uint64_t &v, unsigned pos=0) |
| void | gnsstk::BinUtils::buitohs (const void *p, uint16_t &v, unsigned pos=0) |
| void | gnsstk::BinUtils::buitohsl (const void *p, int32_t &v, unsigned pos=0) |
| void | gnsstk::BinUtils::buitohsll (const void *p, int64_t &v, unsigned pos=0) |
| void | gnsstk::BinUtils::buitohss (const void *p, int16_t &v, unsigned pos=0) |
| void | gnsstk::BinUtils::buntohd (const void *p, double &v, unsigned pos=0) |
| void | gnsstk::BinUtils::buntohf (const void *p, float &v, unsigned pos=0) |
| void | gnsstk::BinUtils::buntohl (const void *p, uint32_t &v, unsigned pos=0) |
| void | gnsstk::BinUtils::buntohll (const void *p, uint64_t &v, unsigned pos=0) |
| void | gnsstk::BinUtils::buntohs (const void *p, uint16_t &v, unsigned pos=0) |
| void | gnsstk::BinUtils::buntohsl (const void *p, int32_t &v, unsigned pos=0) |
| void | gnsstk::BinUtils::buntohsll (const void *p, int64_t &v, unsigned pos=0) |
| void | gnsstk::BinUtils::buntohss (const void *p, int16_t &v, unsigned pos=0) |
| uint32_t | gnsstk::BinUtils::computeCRC (const unsigned char *data, unsigned long len, const CRCParam ¶ms) |
| unsigned short | gnsstk::BinUtils::countBits (uint32_t v) |
| template<class T > | |
| T | gnsstk::BinUtils::decodeVar (const std::string &str, std::string::size_type pos) |
| template<class T > | |
| T | gnsstk::BinUtils::decodeVar (std::string &str) |
| template<class T > | |
| T | gnsstk::BinUtils::decodeVarLE (const std::string &str, std::string::size_type pos) |
| template<class T > | |
| T | gnsstk::BinUtils::decodeVarLE (std::string &str) |
| template<class T > | |
| std::string | gnsstk::BinUtils::encodeVar (const T &v) |
| template<class T > | |
| void | gnsstk::BinUtils::encodeVar (const T &v, std::string &str, size_t pos=0) |
| template<class T > | |
| std::string | gnsstk::BinUtils::encodeVarLE (const T &v) |
| template<class T > | |
| void | gnsstk::BinUtils::encodeVarLE (const T &v, std::string &str, size_t pos=0) |
| gnsstk::BinUtils::NEW_EXCEPTION_CLASS (CRCException, Exception) | |
| unsigned long | gnsstk::BinUtils::reflect (unsigned long crc, int bitnum) |
| Reflects the lower bitnum bits of crc. More... | |
| std::string | gnsstk::BinUtils::xorChecksum (const std::string &str, unsigned wordSize) |