MCPcopy Create free account
hub / github.com/apache/fory / StructHash32

Method StructHash32

csharp/src/Fory/SchemaHash.cs:24–29  ·  view source on GitHub ↗
(string fingerprint)

Source from the content-addressed store, hash-verified

22public static class SchemaHash
23{
24 public static uint StructHash32(string fingerprint)
25 {
26 byte[] bytes = Encoding.UTF8.GetBytes(fingerprint);
27 (ulong h1, _) = MurmurHash3.X64_128(bytes, 47);
28 return unchecked((uint)h1);
29 }
30}
31

Callers

nothing calls this directly

Calls 1

X64_128Method · 0.80

Tested by

no test coverage detected