Pudu programming language
Menu
API reference

Std.Murmur3.hash32

1 declaration

fn

hash32: &Array[UInt8] -> UInt32 -> UInt32

This is a callable function.

What it does

Computes the 32-bit MurmurHash3 digest over a byte array with a given seed.

Read the signature

  • The text after the name is the type checked by Pudu.
  • Read arrows from left to right: inputs come first, and the final type is returned.
  • & borrows a value for this call instead of moving or copying it.
  • Names inside [ ] are type arguments, such as the item type held by a collection.

Back to Std.Murmur3Search related declarations