31template <std::
size_t N>
58 unsigned char operator[](std::size_t index)
const noexcept {
74 [[nodiscard]] std::size_t
size() const noexcept {
return N; }
82 template <std::size_t Start, std::size_t Size = N - Start>
84 static_assert(Start <= N);
85 static_assert(Start + Size <= N);
unsigned char & operator[](std::size_t index) noexcept
Access to a byte.
unsigned char operator[](std::size_t index) const noexcept
Get a byte.
std::size_t size() const noexcept
Get the size of the buffer.
unsigned char * data() noexcept
Access the buffer.
mutable_static_binary_view< Size > sub_buffer() const noexcept
Get a subset of this buffer.
unsigned char * buffer_
Buffer.
mutable_static_binary_view(unsigned char *buffer) noexcept
Constructor.
Namespace of internal implementations.