1#ifndef XRPL_BASICS_BYTEUTILITIES_H_INCLUDED
2#define XRPL_BASICS_BYTEUTILITIES_H_INCLUDED
20static_assert(
kilobytes(2) == 2048,
"kilobytes(2) == 2048");
21static_assert(
megabytes(3) == 3145728,
"megabytes(3) == 3145728");
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
constexpr auto megabytes(T value) noexcept
constexpr auto kilobytes(T value) noexcept