GridFormat 0.2.1
I/O-Library for grid-like data structures
Loading...
Searching...
No Matches
GridFormat::Concepts::Encoder Concept Reference

Encoders allow wrapping of an output stream, yielding a stream that allows writing spans of data to it.

#include <concepts.hpp>

Concept definition

template<typename T, typename S>
concept GridFormat::Concepts::Encoder = requires(const T& encoder, S& stream) {
{ encoder(stream) } -> WriterFor<std::span<const std::byte>>;
}
Encoders allow wrapping of an output stream, yielding a stream that allows writing spans of data to i...
Definition: concepts.hpp:26