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.
2 parents df60e2f + 79ad8e2 commit be0c1c2Copy full SHA for be0c1c2
numcodecs/gzip.py
@@ -29,6 +29,7 @@ def encode(self, buf):
29
buf = ensure_contiguous_ndarray(buf)
30
if PY2: # pragma: py3 no cover
31
# view as u1 needed on PY2
32
+ # ref: https://github.com/zarr-developers/numcodecs/pull/128#discussion_r236786466
33
buf = buf.view('u1')
34
35
# do compression
0 commit comments