sparrow 0.9.0
|
#include <concepts>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <numeric>
#include <ranges>
#include <string_view>
#include <utility>
#include "sparrow/config/config.hpp"
#include "sparrow/utils/contracts.hpp"
#include "sparrow/utils/ranges.hpp"
Go to the source code of this file.
Classes | |
class | sparrow::key_value_view_iterator |
Iterator for traversing key-value pairs in a binary metadata buffer. More... | |
class | sparrow::key_value_view |
Custom view for lazily extracting key-value pairs from a binary buffer. More... | |
Namespaces | |
namespace | sparrow |
Concepts | |
concept | sparrow::input_metadata_container |
Concept for input containers that can provide metadata pairs. | |
Typedefs | |
using | sparrow::metadata_key = std::string_view |
Type alias for metadata keys. | |
using | sparrow::metadata_value = std::string_view |
Type alias for metadata values. | |
using | sparrow::metadata_pair = std::pair<metadata_key, metadata_value> |
Type alias for metadata key-value pairs. | |
Functions | |
SPARROW_API int32_t | sparrow::extract_int32 (const char *&ptr) |
Helper function to extract a 32-bit integer from a character buffer. | |
template<input_metadata_container T> | |
std::string | sparrow::get_metadata_from_key_values (const T &metadata) |
Converts a container of key-value pairs to binary metadata format. | |