openMSX
Public Member Functions | List of all members
openmsx::DeltaBlockDiff Class Referencefinal

#include <DeltaBlock.hh>

Inheritance diagram for openmsx::DeltaBlockDiff:
Inheritance graph
[legend]
Collaboration diagram for openmsx::DeltaBlockDiff:
Collaboration graph
[legend]

Public Member Functions

 DeltaBlockDiff (std::shared_ptr< DeltaBlockCopy > prev_, const uint8_t *data, size_t size)
 
void apply (uint8_t *dst, size_t size) 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
 

Detailed Description

Definition at line 58 of file DeltaBlock.hh.

Constructor & Destructor Documentation

◆ DeltaBlockDiff()

openmsx::DeltaBlockDiff::DeltaBlockDiff ( std::shared_ptr< DeltaBlockCopy prev_,
const uint8_t *  data,
size_t  size 
)

Member Function Documentation

◆ apply()

void openmsx::DeltaBlockDiff::apply ( uint8_t *  dst,
size_t  size 
) const
overridevirtual

Implements openmsx::DeltaBlock.

Definition at line 348 of file DeltaBlock.cc.

References openmsx::SHA1::calc().

Referenced by DeltaBlockDiff().

◆ getDeltaSize()

size_t openmsx::DeltaBlockDiff::getDeltaSize ( ) const

Definition at line 357 of file DeltaBlock.cc.


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