Accumulate length bytes of message into the algorithm state.

Synopsis

Declared in <bslh_spookyhashalgorithmimp.h>

void
update(
    void const* message,
    size_t length);

Description

Accumulate the specified length bytes of message into the internal state of the algorithm. Accumulating bytes through Update will produce the same result as hashing them all at once through the HashXX static methods. The behavior is undefined unless message points at least length bytes of initialized memory or length is zero.

Parameters

Name

Description

message

bytes to accumulate

length

number of bytes in message

Created with MrDocs