Represents a key to be used when calculating a hash value.
More...
#include <ehash.h>
Represents a key to be used when calculating a hash value.
◆ Key() [1/3]
◆ Key() [2/3]
ESipHash24::Key::Key |
( |
const Key & |
k | ) |
|
|
inline |
Copy constructor.
- Parameters
-
◆ Key() [3/3]
ESipHash24::Key::Key |
( |
cpUChar |
k, |
|
|
const size_t |
len |
|
) |
| |
|
inline |
Class constructor.
- Parameters
-
k | a buffer containing the key value. |
len | the length of the key buffer. |
◆ assign()
Key& ESipHash24::Key::assign |
( |
cpUChar |
k, |
|
|
const size_t |
len |
|
) |
| |
|
inline |
Assigns a new key value.
- Parameters
-
k | the data buffer to copy. |
len | the length of the data buffer to copy. |
- Returns
- A reference to this object.
◆ data()
cpUChar ESipHash24::Key::data |
( |
| ) |
const |
|
inline |
Data extractor.
- Returns
- The data value of this Key object.
◆ operator cpUChar()
ESipHash24::Key::operator cpUChar |
( |
| ) |
const |
|
inline |
The const unsigned char* conversion operator.
- Returns
- The data value of this Key object.
The documentation for this class was generated from the following file:
- /home/vagrant/share/code/epctools/include/epc/ehash.h