Everett
Loading...
Searching...
No Matches
Namespaces | Functions
key_detail.h File Reference

Provides bounded byte comparison shared by the key codecs. More...

#include <everett/backend.h>
#include <bit>
#include <cstddef>
#include <cstdint>
#include <cstring>

Go to the source code of this file.

Namespaces

namespace  everett
 
namespace  everett::key_detail
 

Functions

template<simd::architecture Arch = simd::scalar>
std::size_t everett::key_detail::common_bytes (void const *lhs, void const *rhs, std::size_t count) noexcept
 
std::uint64_t everett::key_detail::reverse_bytes (std::uint64_t x) noexcept
 
std::uint64_t everett::key_detail::load_big (void const *source) noexcept
 
void everett::key_detail::store_big (void *target, std::uint64_t value) noexcept
 

Detailed Description

Provides bounded byte comparison shared by the key codecs.

Author
Edward Kmett ekmet.nosp@m.t@gm.nosp@m.ail.c.nosp@m.om
SPDX-FileType: SOURCE
SPDX-FileCopyrightText: 2026 Edward Kmett <ekmett@gmail.com>
SPDX-License-Identifier: BSD-2-Clause OR Apache-2.0