class FileWriterInterface
Defined at line 45 of file ../../third_party/crashpad/src/util/file/file_writer.h
An interface to write to files and other file-like objects with
semantics matching the underlying platform (POSIX or Windows).
Public Methods
bool Write (const void * data, size_t size)
Wraps LoggingWriteFile(), or provides an implementation with
identical semantics.
Returns
`true` if the operation succeeded, `false` if it failed, with an
error message logged.
bool WriteIoVec (std::vector<WritableIoVec> * iovecs)
Wraps `writev()` on POSIX or provides an alternate implementation
with identical semantics. This method will write entire buffers,
continuing after a short write or after being interrupted. On
non-POSIX this is a simple wrapper around Write().
Returns
`true` if the operation succeeded, `false` if it failed, with an
error message logged.
void ~FileWriterInterface ()
Defined at line 47 of file ../../third_party/crashpad/src/util/file/file_writer.h