3#ifndef TETL_NET_BUFFER_HPP
4#define TETL_NET_BUFFER_HPP
19template <
typename T, etl::
size_t Size>
25template <
typename T, etl::
size_t Size>
31template <
typename T, etl::
size_t Size>
37template <
typename T, etl::
size_t Size>
constexpr auto data(C &c) noexcept(noexcept(c.data())) -> decltype(c.data())
Returns a pointer to the block of memory containing the elements of the container.
Definition data.hpp:11
constexpr auto size(C const &c) noexcept(noexcept(c.size())) -> decltype(c.size())
Returns the size of the given container c or array array. Returns c.size(), converted to the return t...
Definition size.hpp:18
auto make_buffer(void *data, size_t size) noexcept -> mutable_buffer
Definition buffer.hpp:15
A container that encapsulates fixed size arrays.
Definition array.hpp:48
constexpr auto data() noexcept -> pointer
Returns pointer to the underlying array serving as element storage. The pointer is such that range [d...
Definition array.hpp:99
constexpr auto size() const noexcept -> size_type
Returns the number of elements in the container, i.e. distance(begin(), end()).
Definition array.hpp:196
Definition buffer_const.hpp:12
Definition buffer_mutable.hpp:12
Dynamically-resizable fixed-capacity vector.
Definition static_vector.hpp:329