#include <write_buffer.h>
Definition at line 57 of file write_buffer.h.
UnalignedWriter::UnalignedWriter |
( |
const PFile & |
file, |
|
|
off_t |
ofs |
|
) |
| |
UnalignedWriter::~UnalignedWriter |
( |
| ) |
|
Status UnalignedWriter::Append |
( |
const u8 * |
data, |
|
|
size_t |
size |
|
) |
| const |
add data to the align buffer, writing it out to disk if full.
Definition at line 101 of file write_buffer.cpp.
void UnalignedWriter::Flush |
( |
| ) |
const |
zero-initialize any remaining space in the align buffer and write it to the file.
this is called by the destructor.
Definition at line 130 of file write_buffer.cpp.
Status UnalignedWriter::WriteBlock |
( |
| ) |
const |
|
private |
shared_ptr<u8> UnalignedWriter::m_alignedBuf |
|
private |
off_t UnalignedWriter::m_alignedOfs |
|
mutableprivate |
size_t UnalignedWriter::m_bytesUsed |
|
mutableprivate |
PFile UnalignedWriter::m_file |
|
private |
The documentation for this class was generated from the following files: