#include <write_buffer.h>
◆ UnalignedWriter()
UnalignedWriter::UnalignedWriter |
( |
const PFile & |
file, |
|
|
off_t |
ofs |
|
) |
| |
◆ ~UnalignedWriter()
UnalignedWriter::~UnalignedWriter |
( |
| ) |
|
◆ Append()
Status UnalignedWriter::Append |
( |
const u8 * |
data, |
|
|
size_t |
size |
|
) |
| const |
add data to the align buffer, writing it out to disk if full.
◆ Flush()
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.
◆ NONCOPYABLE()
◆ WriteBlock()
Status UnalignedWriter::WriteBlock |
( |
| ) |
const |
|
private |
◆ m_alignedBuf
std::shared_ptr<u8> UnalignedWriter::m_alignedBuf |
|
private |
◆ m_alignedOfs
off_t UnalignedWriter::m_alignedOfs |
|
mutableprivate |
◆ m_bytesUsed
size_t UnalignedWriter::m_bytesUsed |
|
mutableprivate |
◆ m_file
PFile UnalignedWriter::m_file |
|
private |
The documentation for this class was generated from the following files:
- /home/docker/jenkins/workspace/technical-docs/source/lib/file/io/write_buffer.h
- /home/docker/jenkins/workspace/technical-docs/source/lib/file/io/write_buffer.cpp