openMSX
|
#include <DeltaBlock.hh>
Public Member Functions | |
DeltaBlockDiff (std::shared_ptr< DeltaBlockCopy > prev_, std::span< const uint8_t > data) | |
void | apply (std::span< uint8_t > dst) const override |
size_t | getDeltaSize () const |
Public Member Functions inherited from openmsx::DeltaBlock | |
virtual | ~DeltaBlock ()=default |
Additional Inherited Members | |
Protected Member Functions inherited from openmsx::DeltaBlock | |
DeltaBlock ()=default | |
Definition at line 59 of file DeltaBlock.hh.
openmsx::DeltaBlockDiff::DeltaBlockDiff | ( | std::shared_ptr< DeltaBlockCopy > | prev_, |
std::span< const uint8_t > | data | ||
) |
Definition at line 323 of file DeltaBlock.cc.
References apply(), openmsx::SHA1::calc(), openmsx::MemBuffer< T, ALIGNMENT >::data(), and ranges::equal().
|
overridevirtual |
Implements openmsx::DeltaBlock.
Definition at line 344 of file DeltaBlock.cc.
References openmsx::SHA1::calc().
Referenced by DeltaBlockDiff().
size_t openmsx::DeltaBlockDiff::getDeltaSize | ( | ) | const |
Definition at line 353 of file DeltaBlock.cc.