Update the fingerprint with 4 bytes at a time.

Synopsis

Declared in <folly/Fingerprint.h>

Fingerprint&
update32(uint32_t v);

Description

update32 and update64 are convenience functions to update the fingerprint with 4 and 8 bytes at a time. They are faster than calling update8 in a loop. They process the bytes in big‐endian order.

Return Value

A reference to this fingerprint, to allow chaining.

Parameters

Name

Description

v

The 32‐bit value to feed into the fingerprint.

Created with MrDocs