We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d68d53 commit b6d91ceCopy full SHA for b6d91ce
numcodecs/fletcher32.pyx
@@ -84,6 +84,7 @@ class Fletcher32(Codec):
84
"""Check fletcher checksum, and return buffer without it"""
85
b = ensure_contiguous_ndarray(buf).view('uint8')
86
cdef const uint8_t[::1] b_mv = b
87
+
88
val = _fletcher32(b_mv[:-4])
89
found = load_le32(&b_mv[-4])
90
if val != found:
0 commit comments