tetl 0.1.0
Embedded Template Library
|
#include <buffer_mutable.hpp>
Public Member Functions | |
mutable_buffer () noexcept=default | |
Construct an empty buffer. | |
mutable_buffer (void *data, etl::size_t size) | |
Construct a buffer to represent a given memory range. | |
auto | data () const noexcept -> void * |
Get a pointer to the beginning of the memory range. | |
auto | operator+= (etl::size_t n) noexcept -> mutable_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+ (etl::size_t const n, mutable_buffer const &b) noexcept -> mutable_buffer |
Create a new modifiable buffer that is offset from the start of another. | |
auto | operator+ (mutable_buffer const &b, etl::size_t const n) noexcept -> mutable_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.