absl::HashState::combine_contiguous

Combine a contiguous array of elements into a hash state.

Synopsis

Declared in <absl/hash/hash.h>

static
HashState
combine_contiguous(
    HashState hash_state,
    unsigned char const* first,
    size_t size);

Description

Combines a contiguous array of size elements into a hash state, returning the updated state.

Return Value

The updated hash state.

Parameters

NameDescription
hash_stateThe hash state to update.
firstA pointer to the first byte of the array.
sizeThe number of bytes in the array.