|
libTriton version 1.0 build 1599
|
The Utils namespace. More...
Functions | |
| template<typename T > | |
| std::string | toString (const T &obj) |
| Converts an object to a string. | |
| TRITON_EXPORT void | fromUintToBuffer (triton::uint80 value, triton::uint8 *buffer) |
Inject the value into the buffer. Make sure that the buffer contains at least 10 allocated bytes. | |
| template<typename T > | |
| constexpr T | cast (const triton::uint512 &value) |
| Casts an triton::uint512 to T. | |
| template<typename T > | |
| T | cast (const triton::uint8 *buffer) |
| Returns the value located into the buffer. | |
| template<> | |
| TRITON_EXPORT triton::uint80 | cast (const triton::uint8 *buffer) |
| template<> | |
| TRITON_EXPORT triton::uint128 | cast (const triton::uint8 *buffer) |
| template<> | |
| TRITON_EXPORT triton::uint256 | cast (const triton::uint8 *buffer) |
| template<> | |
| TRITON_EXPORT triton::uint512 | cast (const triton::uint8 *buffer) |
| template<> | |
| TRITON_EXPORT triton::uint80 | cast (const triton::uint512 &value) |
| Cast an uint512 to an uint80 according to the multiprecision library. | |
| template<> | |
| TRITON_EXPORT triton::uint512 | cast (const triton::uint80 &value) |
| Cast an uint512 to an uint80 according to the multiprecision library. | |
| template<typename T > | |
| std::enable_if_t< std::is_unsigned_v< T >, T > | byteswap (T value) |
| template<> | |
| triton::uint80 | cast (const triton::uint8 *buffer) |
| template<> | |
| triton::uint128 | cast (const triton::uint8 *buffer) |
| template<> | |
| triton::uint256 | cast (const triton::uint8 *buffer) |
| template<> | |
| triton::uint512 | cast (const triton::uint8 *buffer) |
| template<> | |
| triton::uint80 | cast (const triton::uint512 &value) |
| Cast an uint512 to an uint80 according to the multiprecision library. | |
| template<> | |
| triton::uint512 | cast (const triton::uint80 &value) |
| Cast an uint80 to an uint512 according to the multiprecision library. | |
The Utils namespace.