tlx
bitdump.hpp File Reference
#include <cstdint>
#include <string>

Go to the source code of this file.

Namespaces

 tlx
 

Functions

Bitdump Methods
std::string bitdump_8_msb (const void *const data, size_t size)
 Dump a (binary) string of 8-bit bytes as a sequence of '0' and '1' characters, with the most significant bits (msb) first. More...
 
std::string bitdump_8_msb (const std::string &str)
 Dump a (binary) string of 8-bit bytes as a sequence of '0' and '1' characters, with the most significant bits (msb) first. More...
 
template<typename Type >
std::string bitdump_8_msb_type (const Type &t)
 Dump a (binary) item of 8-bit bytes as a sequence of '0' and '1' characters, with the most significant bits (msb) first. More...
 
std::string bitdump_le8 (const void *const data, size_t size)
 deprecated method: unclear naming and documentation. More...
 
std::string bitdump_le8 (const std::string &str)
 deprecated method: unclear naming and documentation. More...
 
template<typename Type >
std::string bitdump_le8_type (const Type &t)
 deprecated method: unclear naming and documentation. More...
 
std::string bitdump_8_lsb (const void *const data, size_t size)
 Dump a (binary) string of 8-bit bytes as a sequence of '0' and '1' characters, with the least significant bits (lsb) first. More...
 
std::string bitdump_8_lsb (const std::string &str)
 Dump a (binary) string of 8-bit bytes as a sequence of '0' and '1' characters, with the least significant bits (lsb) first. More...
 
template<typename Type >
std::string bitdump_8_lsb_type (const Type &t)
 Dump a (binary) item of 8-bit bytes as a sequence of '0' and '1' characters, with the least significant bits (lsb) first. More...
 
std::string bitdump_be8 (const void *const data, size_t size)
 deprecated method: unclear naming and documentation. More...
 
std::string bitdump_be8 (const std::string &str)
 deprecated method: unclear naming and documentation. More...
 
template<typename Type >
std::string bitdump_be8_type (const Type &t)
 deprecated method: unclear naming and documentation. More...