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_, 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
 

Detailed Description

Definition at line 59 of file DeltaBlock.hh.

Constructor & Destructor Documentation

◆ DeltaBlockDiff()

openmsx::DeltaBlockDiff::DeltaBlockDiff ( std::shared_ptr< DeltaBlockCopy prev_,
std::span< const uint8_t >  data 
)

Member Function Documentation

◆ apply()

void openmsx::DeltaBlockDiff::apply ( std::span< uint8_t >  dst) const
overridevirtual

Implements openmsx::DeltaBlock.

Definition at line 341 of file DeltaBlock.cc.

References openmsx::SHA1::calc().

Referenced by DeltaBlockDiff().

◆ getDeltaSize()

size_t openmsx::DeltaBlockDiff::getDeltaSize ( ) const

Definition at line 350 of file DeltaBlock.cc.


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