Crashpad
Public Member Functions | List of all members
crashpad::MinidumpUserStreamWriter::SnapshotContentsWriter Class Referencefinal
Inheritance diagram for crashpad::MinidumpUserStreamWriter::SnapshotContentsWriter:
crashpad::MinidumpUserStreamWriter::ContentsWriter crashpad::MemorySnapshot::Delegate

Public Member Functions

 SnapshotContentsWriter (const MemorySnapshot *snapshot)
 
bool WriteContents (FileWriterInterface *writer) override
 
size_t GetSize () const override
 
bool MemorySnapshotDelegateRead (void *data, size_t size) override
 Called by MemorySnapshot::Read() to provide data requested by a call to that method. More...
 

Member Function Documentation

◆ MemorySnapshotDelegateRead()

bool crashpad::MinidumpUserStreamWriter::SnapshotContentsWriter::MemorySnapshotDelegateRead ( void *  data,
size_t  size 
)
inlineoverridevirtual

Called by MemorySnapshot::Read() to provide data requested by a call to that method.

Parameters
[in]dataA pointer to the data that was read. The callee does not take ownership of this data. This data is only valid for the duration of the call to this method. This parameter may be nullptr if size is 0.
[in]sizeThe size of the data that was read.
Returns
true on success, false on failure. MemoryDelegate::Read() will use this as its own return value.

Implements crashpad::MemorySnapshot::Delegate.


The documentation for this class was generated from the following file: