kubo / snzip

Snzip, a compression/decompression tool based on snappy
Other
216 stars 30 forks source link

Unknown file header when try to decode raw file #16

Closed asarubbo closed 8 years ago

asarubbo commented 8 years ago
# echo "foo" > file.txt
# snzip -k -t raw file.txt
# snzip -k -d -c file.txt.raw
Unknown file header

I'm using snappy-1.1.3 with snzip-1.0.3 Can you reproduce?

kubo commented 8 years ago

The automatic file format detection doesn't work for raw format because raw format doesn't have explicit file signature. You need to add -t raw to decode. I'll fix README.md later.