6 #ifndef KAGOME_CORE_CRYPTO_MP_UTILS_HPP 7 #define KAGOME_CORE_CRYPTO_MP_UTILS_HPP 9 #include <boost/multiprecision/cpp_int.hpp> 37 #endif // KAGOME_CORE_CRYPTO_MP_UTILS_HPP boost::multiprecision::uint256_t uint256_t
uint64_t le_bytes_to_uint64(gsl::span< const uint8_t, 8 > bytes)
boost::multiprecision::uint256_t be_bytes_to_uint256(gsl::span< const uint8_t, 32 > bytes)
boost::multiprecision::uint128_t be_bytes_to_uint128(gsl::span< const uint8_t, 16 > bytes)
boost::multiprecision::uint128_t le_bytes_to_uint128(gsl::span< const uint8_t, 16 > bytes)
uint64_t be_bytes_to_uint64(gsl::span< const uint8_t, 8 > bytes)
boost::multiprecision::uint256_t le_bytes_to_uint256(gsl::span< const uint8_t, 32 > bytes)
std::array< uint8_t, 8 > uint64_to_be_bytes(uint64_t number)
std::array< uint8_t, 32 > uint256_to_be_bytes(const boost::multiprecision::uint256_t &i)
std::array< uint8_t, 16 > uint128_to_le_bytes(const boost::multiprecision::uint128_t &i)
std::array< uint8_t, 8 > uint64_to_le_bytes(uint64_t number)
boost::multiprecision::uint128_t uint128_t
std::array< uint8_t, 16 > uint128_to_be_bytes(const boost::multiprecision::uint128_t &i)
std::array< uint8_t, 32 > uint256_to_le_bytes(const boost::multiprecision::uint256_t &i)