scclib
Stable Cloud Computing C++ Library
Public Member Functions | List of all members
scc::crypto::HashReader Class Reference

Helper class to hash an incoming stream. More...

#include <hash.h>

Inheritance diagram for scc::crypto::HashReader:
Inheritance graph
[legend]
Collaboration diagram for scc::crypto::HashReader:
Collaboration graph
[legend]

Public Member Functions

 HashReader (scc::util::Reader &rd, Hash &chk)
 
virtual size_t read (void *loc, size_t len)
 Read interface. More...
 

Detailed Description

Helper class to hash an incoming stream.

Examples
scclib/crypto/unittest/hash_digest.cc.

Definition at line 214 of file hash.h.

Member Function Documentation

◆ read()

virtual size_t scc::crypto::HashReader::read ( void *  ,
size_t   
)
inlinevirtual

Read interface.

Read a block of data to a maximum. Return number of bytes read.

Implements scc::util::Reader.

Definition at line 222 of file hash.h.


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