Simply check if there is more data to decompress
Simply check if there is more data to decompress

Instead of checking exactly how many bytes remain to decompress, only
check to see if there is one more byte beyond what we have read. This
should be a fast check after decompression completes.

alimanfoo/numcodecs,alimanfoo/numcodecs,zarr-developers/numcodecs