retdec
|
Implementation of the conversion utilities. More...
#include <bitset>
#include <cstring>
#include "retdec/utils/conversion.h"
#include "retdec/utils/string.h"
Namespaces | |
retdec | |
retdec::utils | |
Functions | |
Conversions | |
char * | retdec::utils::byteToHexString (uint8_t b, bool uppercase=true) |
void | retdec::utils::double10ToDouble8 (std::vector< unsigned char > &dest, const std::vector< unsigned char > &src) |
Convert 80-bit (10-byte) long double binary data (byte array) into 64-bit (8-byte) double binary data. More... | |
unsigned short | retdec::utils::byteSwap16 (unsigned short val) |
Swap bytes for Intel x86 16-bit little-endian immediate. More... | |
unsigned int | retdec::utils::byteSwap32 (unsigned int val) |
Swap bytes for Intel x86 32-bit little-endian immediate. More... | |
std::string | retdec::utils::byteSwap16 (const std::string &val) |
Swap bytes for Intel x86 16-bit little-endian immediate. More... | |
std::string | retdec::utils::byteSwap32 (const std::string &val) |
Swap bytes for Intel x86 32-bit little-endian immediate. More... | |
std::vector< uint8_t > | retdec::utils::hexStringToBytes (const std::string &hexIn) |
Implementation of the conversion utilities.