def xxh64
import bend-kit-hash@0.3.0.2/hash.bend as Hashimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
593def xxh64(b: Bytes.Bytes, +seed: W64) -> Bytes.Bytes & W64:
594 Bytes.Bytes{+len, buf} = b
595 x64.mid(len, x64.start(U32.is_le(32, len), len, seed, buf))