Kanzi 4.0.0-beta2
byte_span.hpp File Reference

Namespaces

namespace  kanzi
 

Typedefs

using kanzi::ByteSpan
 ByteSpan refers to contiguous sequence of bytes.
 
using kanzi::ConstByteSpan
 ConstByteSpan refers to constant contiguous sequence of bytes.
 

Functions

template<typename T >
constexpr span< Tkanzi::fromBytes (const ByteSpan &source)
 Converts a span of bytes into a span of type T.
 
template<typename T >
constexpr span< const Tkanzi::fromBytes (const ConstByteSpan &source)
 Converts a span of const bytes into a span of type T.