Class faabric::util::SnapshotDiff
-
class SnapshotDiff
Represents a modification to a snapshot (a.k.a. a dirty region). Specifies the modified data, as well as its offset within the snapshot.
Each diff does not own the data, it just provides a span pointing at the original data.
Public Functions
-
SnapshotDiff() = default
-
SnapshotDiff(SnapshotDataType dataTypeIn, SnapshotMergeOperation operationIn, uint32_t offsetIn, std::span<const uint8_t> dataIn)
-
inline SnapshotDataType getDataType() const
-
inline SnapshotMergeOperation getOperation() const
-
inline uint32_t getOffset() const
-
inline std::span<const uint8_t> getData() const
-
std::vector<uint8_t> getDataCopy() const
-
SnapshotDiff() = default