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

#include <DeltaBlock.hh>

Inheritance diagram for openmsx::DeltaBlockDiff:
Inheritance graph
Collaboration diagram for openmsx::DeltaBlockDiff:
Collaboration graph

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
virtual void apply (uint8_t *dst, size_t size) const =0

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 

Definition at line 321 of file

References apply(), openmsx::SHA1::calc(), and utf8::unchecked::size().

Member Function Documentation

◆ apply()

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

Implements openmsx::DeltaBlock.

Definition at line 342 of file

References openmsx::SHA1::calc(), and utf8::unchecked::size().

Referenced by DeltaBlockDiff().

◆ getDeltaSize()

size_t openmsx::DeltaBlockDiff::getDeltaSize ( ) const

Definition at line 351 of file

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