class WeakFileHandleFileWriter
Defined at line 82 of file ../../third_party/crashpad/src/util/file/file_writer.h
A file writer backed by a FileHandle.
FileWriter requires users to provide a FilePath to open, but this class
accepts an already-open FileHandle instead. Like FileWriter, this class may
write to a filesystem-based file, but unlike FileWriter, this class is not
responsible for creating or closing the file. Users of this class must
ensure that the file handle is closed appropriately elsewhere. Objects of
this class may be used to write to file handles not associated with
filesystem-based files, although special attention should be paid to the
Seek() method, which may not function on file handles that do not refer to
disk-based files.
This class is expected to be used when other code is responsible for
creating files and already provides file handles.
Public Methods
void WeakFileHandleFileWriter (FileHandle file_handle)
void WeakFileHandleFileWriter (const WeakFileHandleFileWriter & )
Defined at line 86 of file ../../third_party/crashpad/src/util/file/file_writer.h
WeakFileHandleFileWriter & operator= (const WeakFileHandleFileWriter & )
Defined at line 87 of file ../../third_party/crashpad/src/util/file/file_writer.h
void ~WeakFileHandleFileWriter ()
bool Write (const void * data, size_t size)
FileWriterInterface:
bool WriteIoVec (std::vector<WritableIoVec> * iovecs)
FileOffset Seek (FileOffset offset, int whence)
Friends
class FileWriter