Still very new to use this python module, zstd 0.8.1. I did a test run on the following,
import zstd
cctx = zstd.ZstdCompressor()
zstd_data = cctx.compress(b'aaaaa')
len(zstd_data)
Out[34]: 14 #this is my output
However when i did,
cobj = cctx.compressobj()
zstd_data = cobj.compress(b'aaaaa')
len(zstd_data)
Out[39]: 0 #why the length is 0?
What is my mistakes?