#include <stream_buffer_helper.h>
Definition at line 13 of file stream_buffer_helper.h.
Definition at line 48 of file stream_buffer_helper.cpp.
void set_size_in_range(size_t minSize, size_t maxSize)
pfc::array_t< char > m_buffer
void stream_writer_buffered::write |
( |
const void * |
p_buffer, |
|
|
t_size |
p_bytes, |
|
|
abort_callback & |
p_abort |
|
) |
| |
Definition at line 55 of file stream_buffer_helper.cpp.
57 const char * source = (
const char*)p_buffer;
58 t_size source_remaining = p_bytes;
60 if (source_remaining >= buffer_size)
63 m_base->write_object(source,source_remaining,p_abort);
72 source_remaining -= delta;
73 m_buffer_ptr += delta;
78 m_buffer_ptr += source_remaining;
const t_item * get_ptr() const
pfc::array_t< char > m_buffer
void flush(abort_callback &p_abort)
t_size stream_writer_buffered::m_buffer_ptr |
|
private |
The documentation for this class was generated from the following files: