20#ifndef RIPPLE_BASICS_BYTEUTILITIES_H_INCLUDED
21#define RIPPLE_BASICS_BYTEUTILITIES_H_INCLUDED
39static_assert(
kilobytes(2) == 2048,
"kilobytes(2) == 2048");
40static_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