StormByte 3.0.0
C++26 foundation of the StormByte suite
Loading...
Searching...
No Matches
std::hash< StormByte::Safe::Binary > Struct Reference

Hash of the byte sequence. More...

#include <StormByte/safe/binary.hxx>

Public Member Functions

std::size_t operator() (const StormByte::Safe::Binary &value) const noexcept
 Hashes value.

Detailed Description

Hash of the byte sequence.

An empty sequence hashes as an empty view.

Member Function Documentation

◆ operator()()

std::size_t std::hash< StormByte::Safe::Binary >::operator() ( const StormByte::Safe::Binary & value) const
inlinenoexcept

Hashes value.

Parameters
valueSequence. Not copied.
Returns
Hash of this module's std::hash<std::string_view> over the bytes.

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