If input length is exactly 16 bytes then FarmHash128.ComputeHash throws an IndexOutOfRangeException .
Function should work.
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FastHashes.FarmHash128.Hash1To3(UInt64& hash1, UInt64& hash2, ReadOnlySpan`1 buffer, Int32 offset, Int32 count, UInt64 seed1, UInt64 seed2)
at FastHashes.FarmHash128.ComputeHashInternal(ReadOnlySpan`1 buffer)
at FastHashes.Hash.ComputeHash(Byte[] buffer, Int32 offset, Int32 count)
at FastHashes.Hash.ComputeHash(Byte[] buffer)
byte[] input = new byte[16];
FarmHash128 fh = new FarmHash128();
fh.ComputeHash(input);
An exception is also thrown when input size is 0.