Skip to content

Commit 786d31f

Browse files
author
Mark Kittisopikul
committed
Add pass, comment for dest_size
1 parent 1349304 commit 786d31f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

numcodecs/zstd.pyx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,8 @@ def decompress(source, dest=None):
223223
return stream_decompress(source_pb)
224224
elif content_size == ZSTD_CONTENTSIZE_UNKNOWN:
225225
# dest is not None
226+
# set dest_size based on dest
227+
pass
226228
elif content_size == ZSTD_CONTENTSIZE_ERROR or content_size == 0:
227229
raise RuntimeError('Zstd decompression error: invalid input data')
228230
elif content_size > (<unsigned long long>SIZE_MAX):

0 commit comments

Comments
 (0)