#include <stream.h>
◆ OutputBufferManager()
OutputBufferManager::OutputBufferManager |
( |
| ) |
|
◆ AllocateBuffer()
void OutputBufferManager::AllocateBuffer |
( |
size_t |
size | ) |
|
allocate a new output buffer.
- Parameters
-
notes:
- if a buffer had previously been allocated and is large enough, it is reused (this reduces the number of allocations).
- this class manages the lifetime of the buffer.
◆ Buffer()
u8 * OutputBufferManager::Buffer |
( |
| ) |
const |
|
inline |
◆ IsAllowableBuffer()
bool OutputBufferManager::IsAllowableBuffer |
( |
u8 * |
buffer, |
|
|
size_t |
size |
|
) |
| |
|
private |
◆ Reset()
void OutputBufferManager::Reset |
( |
| ) |
|
◆ SetBuffer()
void OutputBufferManager::SetBuffer |
( |
u8 * |
buffer, |
|
|
size_t |
size |
|
) |
| |
◆ Size()
size_t OutputBufferManager::Size |
( |
| ) |
const |
|
inline |
◆ m_buffer
u8* OutputBufferManager::m_buffer |
|
private |
◆ m_capacity
size_t OutputBufferManager::m_capacity |
|
private |
◆ m_mem
std::shared_ptr<u8> OutputBufferManager::m_mem |
|
private |
◆ m_size
size_t OutputBufferManager::m_size |
|
private |
The documentation for this class was generated from the following files:
- /home/docker/jenkins/workspace/technical-docs/source/lib/file/archive/stream.h
- /home/docker/jenkins/workspace/technical-docs/source/lib/file/archive/stream.cpp