pub fn final(self: Self) W
self: Self
980 981 982 983 984 985 986 987 988 989
pub fn final(self: Self) W { var c = self.crc; if (algorithm.reflect_input != algorithm.reflect_output) { c = @bitReverse(c); } if (!algorithm.reflect_output) { c >>= @bitSizeOf(I) - @bitSizeOf(W); } return @intCast(c ^ algorithm.xor_output); }