Base class of all buffers. More...
#include <cvb/buffer_base.hpp>
Inherited by Buffer, and PFNCBuffer.
Public Member Functions | |
void * | Handle () const noexcept |
Classic API buffer handle. | |
std::uint8_t * | BasePtr () const noexcept |
Gets the pointer to the start of this buffer. | |
size_t | Size () const noexcept |
Gets the actual size of this buffer in bytes. | |
size_t | Capacity () const noexcept |
Gets the allocated size of this buffer in bytes. | |
Base class of all buffers.
|
inlinenoexcept |
Gets the pointer to the start of this buffer.
|
inlinenoexcept |
Gets the allocated size of this buffer in bytes.
This value is a constant and resembles the allocated number of bytes in this buffer.
|
inlinenoexcept |
Classic API buffer handle.
It is normally not necessary to work with this handle.
|
inlinenoexcept |
Gets the actual size of this buffer in bytes.
The actual size is the currently filled size of the buffer. For the allocated size see GetBufferCapacity().
We use cookies to improve your experience. By using this documentation, you agree to our use of cookies.