Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::HashAlgorithmValue Class Reference

Hash algorithm return value. More...

#include <arcane/utils/IHashAlgorithm.h>

Collaboration diagram for Arcane::HashAlgorithmValue:

Public Member Functions

SmallSpan< std::byte > bytes ()
SmallSpan< const std::byte > bytes () const
SmallSpan< const ByteasLegacyBytes () const
void setSize (Int32 size)

Static Public Attributes

static constexpr Int32 MAX_SIZE = 64

Private Attributes

std::array< std::byte, MAX_SIZE > m_value = {}
Int32 m_size = MAX_SIZE

Detailed Description

Hash algorithm return value.

Definition at line 34 of file IHashAlgorithm.h.

Member Function Documentation

◆ asLegacyBytes()

SmallSpan< const Byte > Arcane::HashAlgorithmValue::asLegacyBytes ( ) const
inline

Definition at line 50 of file IHashAlgorithm.h.

◆ bytes() [1/2]

SmallSpan< std::byte > Arcane::HashAlgorithmValue::bytes ( )
inline

Definition at line 42 of file IHashAlgorithm.h.

◆ bytes() [2/2]

SmallSpan< const std::byte > Arcane::HashAlgorithmValue::bytes ( ) const
inline

Definition at line 46 of file IHashAlgorithm.h.

◆ setSize()

void Arcane::HashAlgorithmValue::setSize ( Int32 size)

Definition at line 29 of file HashAlgorithm.cc.

Member Data Documentation

◆ m_size

Int32 Arcane::HashAlgorithmValue::m_size = MAX_SIZE
private

Definition at line 59 of file IHashAlgorithm.h.

◆ m_value

std::array<std::byte, MAX_SIZE> Arcane::HashAlgorithmValue::m_value = {}
private

Definition at line 58 of file IHashAlgorithm.h.

◆ MAX_SIZE

Int32 Arcane::HashAlgorithmValue::MAX_SIZE = 64
staticconstexpr

Definition at line 38 of file IHashAlgorithm.h.


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