class WeakFileHandleFileReader
Defined at line 64 of file ../../third_party/crashpad/src/util/file/file_reader.h
A file reader backed by a FileHandle.
FileReader requires users to provide a FilePath to open, but this class
accepts an already-open FileHandle instead. Like FileReader, this class may
read from a filesystem-based file, but unlike FileReader, this class is not
responsible for opening 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 read from 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
opening files and already provides file handles.
Public Methods
void WeakFileHandleFileReader (FileHandle file_handle)
void WeakFileHandleFileReader (const WeakFileHandleFileReader & )
Defined at line 68 of file ../../third_party/crashpad/src/util/file/file_reader.h
WeakFileHandleFileReader & operator= (const WeakFileHandleFileReader & )
Defined at line 69 of file ../../third_party/crashpad/src/util/file/file_reader.h
void ~WeakFileHandleFileReader ()
FileOperationResult Read (void * data, size_t size)
FileReaderInterface:
FileOffset Seek (FileOffset offset, int whence)
FileOffset Seek (FileOffset offset, int whence)
Friends
class FileReader