Botan 3.6.0
Crypto and TLS for C&
Botan::detail::custom_loadable Concept Reference

#include <loadstor.h>

Concept definition

template<typename T>
concept Botan::detail::custom_loadable = requires(std::span<const uint8_t, sizeof(T)> data) {
{ T::load_be(data) } -> std::same_as<T>;
{ T::load_le(data) } -> std::same_as<T>;
}
FE_25519 T
Definition ge.cpp:34

Detailed Description

Models a custom type that provides factory methods to be loaded in big- or little-endian byte order.

Definition at line 175 of file loadstor.h.