uint256::uint256

Constructs a uint256 at compile time from a hex string.

Synopsis

Declared in <uint256.h>

consteval
explicit
uint256(std::string_view hex_str);

Parameters

NameDescription
hex_strA hex string that must fit the 256-bit blob exactly.