tetl 0.1.0
Embedded Template Library
|
#include <buffer_const.hpp>
Public Member Functions | |
const_buffer () noexcept=default | |
Construct an empty buffer. | |
const_buffer (void const *data, etl::size_t size) | |
Construct a buffer to represent a given memory range. | |
auto | data () const noexcept -> void const * |
Get a pointer to the beginning of the memory range. | |
auto | operator+= (etl::size_t n) noexcept -> const_buffer & |
Move the start of the buffer by the specified number of bytes. | |
auto | size () const noexcept -> etl::size_t |
Get the size of the memory range. | |
Related Symbols | |
(Note that these are not member symbols.) | |
auto | operator+ (const_buffer const &b, etl::size_t const n) noexcept -> const_buffer |
Create a new modifiable buffer that is offset from the start of another. | |
auto | operator+ (etl::size_t const n, const_buffer const &b) noexcept -> const_buffer |
Create a new modifiable buffer that is offset from the start of another. | |
|
defaultnoexcept |
Construct an empty buffer.
|
inline |
Construct a buffer to represent a given memory range.
|
inlinenodiscardnoexcept |
Get a pointer to the beginning of the memory range.
|
inlinenoexcept |
Move the start of the buffer by the specified number of bytes.
|
inlinenodiscardnoexcept |
Get the size of the memory range.
|
Create a new modifiable buffer that is offset from the start of another.
|
Create a new modifiable buffer that is offset from the start of another.