Function computeChecksum [src]

Returns the frame checksum corresponding to the data fed into hasher

Prototype

pub fn computeChecksum(hasher: *std.hash.XxHash64) u32

Parameters

hasher: *std.hash.XxHash64

Source

pub fn computeChecksum(hasher: *std.hash.XxHash64) u32 { const hash = hasher.final(); return @as(u32, @intCast(hash & 0xFFFFFFFF)); }