Template Function icrar::read_hash(const char *, T&)

Function Documentation

template<typename T>
void icrar::read_hash(const char *filename, T &hash)

Reads a file containing a binary hash at filename and outputs to hash.

Template Parameters:

T – the hash type

Parameters:
  • filename – the hash file to read

  • hash – output parameter