#include <kanzi/core/cpp/cstddef.hpp>#include <kanzi/core/cpp/span.hpp>#include <kanzi/core/debug/assert.hpp>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< T > | kanzi::fromBytes (const ByteSpan &source) |
| Converts a span of bytes into a span of type T. | |
| template<typename T > | |
| constexpr span< const T > | kanzi::fromBytes (const ConstByteSpan &source) |
| Converts a span of const bytes into a span of type T. | |