Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
SkMD5::Digest Struct Reference

#include <SkMD5.h>

Public Member Functions

SkString toHexString () const
 
SkString toLowercaseHexString () const
 
bool operator== (Digest const &other) const
 
bool operator!= (Digest const &other) const
 

Public Attributes

uint8_t data [16]
 

Detailed Description

Definition at line 29 of file SkMD5.h.

Member Function Documentation

◆ operator!=()

bool SkMD5::Digest::operator!= ( Digest const &  other) const
inline

Definition at line 35 of file SkMD5.h.

35 {
36 return !(*this == other);
37 }

◆ operator==()

bool SkMD5::Digest::operator== ( Digest const &  other) const
inline

Definition at line 32 of file SkMD5.h.

32 {
33 return 0 == memcmp(data, other.data, sizeof(data));
34 }
uint8_t data[16]
Definition: SkMD5.h:39

◆ toHexString()

SkString SkMD5::Digest::toHexString ( ) const

Definition at line 112 of file SkMD5.cpp.

112 {
114}
static SkString to_hex_string(const uint8_t *data, const char *hexDigits)
Definition: SkMD5.cpp:102
const char gUpper[16]
Definition: SkUtils.cpp:10

◆ toLowercaseHexString()

SkString SkMD5::Digest::toLowercaseHexString ( ) const

Definition at line 116 of file SkMD5.cpp.

116 {
118}
const char gLower[16]
Definition: SkUtils.cpp:12

Member Data Documentation

◆ data

uint8_t SkMD5::Digest::data[16]

Definition at line 39 of file SkMD5.h.


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