libTriton version 1.0 build 1590
Loading...
Searching...
No Matches
Namespaces | Functions
coreUtils.cpp File Reference
#include <triton/coreUtils.hpp>
#include <triton/cpuSize.hpp>

Go to the source code of this file.

Namespaces

namespace  triton
 The Triton namespace.
 
namespace  triton::utils
 The Utils namespace.
 

Functions

TRITON_EXPORT void triton::utils::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<>
triton::uint80 triton::utils::cast (const triton::uint8 *buffer)
 
template<>
triton::uint128 triton::utils::cast (const triton::uint8 *buffer)
 
template<>
triton::uint256 triton::utils::cast (const triton::uint8 *buffer)
 
template<>
triton::uint512 triton::utils::cast (const triton::uint8 *buffer)
 
template<>
triton::uint80 triton::utils::cast (const triton::uint512 &value)
 Cast an uint512 to an uint80 according to the multiprecision library.
 
template<>
triton::uint512 triton::utils::cast (const triton::uint80 &value)
 Cast an uint80 to an uint512 according to the multiprecision library.