MiKTeX 23.10-next
A scalable TeX distribution
Loading...
Searching...
No Matches
Public Member Functions | List of all members
MiKTeX::Core::MD5Builder Class Reference

Instances of this struct can be used to calculate MD5 values. More...

#include <miktex/Core/MD5.h>

Public Member Functions

 MD5Builder ()
 Initializes a new MD5Builder object. More...
 
 MD5Builder (const MD5Builder &other)=default
 
MD5Builderoperator= (const MD5Builder &other)=default
 
 MD5Builder (MD5Builder &&other)=default
 
MD5Builderoperator= (MD5Builder &&other)=default
 
void Init ()
 Resets the state of this MD5Builder object. More...
 
void Update (const void *ptr, size_t size)
 
MD5 Final ()
 
MD5 GetMD5 () const
 

Detailed Description

Instances of this struct can be used to calculate MD5 values.

Constructor & Destructor Documentation

◆ MD5Builder()

MiKTeX::Core::MD5Builder::MD5Builder ( )
inline

Initializes a new MD5Builder object.

Member Function Documentation

◆ Final()

MD5 MiKTeX::Core::MD5Builder::Final ( )
inline

Calculates the final MD5 value.

Returns
Returns the MD5 object.

◆ GetMD5()

MD5 MiKTeX::Core::MD5Builder::GetMD5 ( ) const
inline

Gets the calculated MD5 value.

Returns
Returns the MD5 object.

◆ Init()

void MiKTeX::Core::MD5Builder::Init ( )
inline

Resets the state of this MD5Builder object.

◆ Update()

void MiKTeX::Core::MD5Builder::Update ( const void *  ptr,
size_t  size 
)
inline

Updates the state of this MD5Builder object.

Parameters
ptrBytes to be contributed to the MD5 value.
sizeSize of the byte buffer.

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