diff --git a/snappy.zig b/snappy.zig index aad3696..f12c6e9 100644 --- a/snappy.zig +++ b/snappy.zig @@ -37,7 +37,7 @@ const SnappyError = error{ // Perform the CRC hash per the snappy documentation. We must use wrapping addition since this is // the default behavior in other languages. -fn crc(b: []const u8) u32 { +pub fn crc(b: []const u8) u32 { var c = crc32.init(); c.update(b); const hash = c.final();