Is there a package for lz4? I want to decode a file. I found:
http://wiki.tcl.tk/48789
But this is just a script and requires xxhash. Which also seems also
only to be available as a script:
http://wiki.tcl.tk/48790
I tried:
lz4.tcl --ignore-checksums previous.jsonlz4
But this gives:
unexpected magic number: 1283092333
while executing
"error "unexpected magic number: $magic""
(procedure "decode-frame" line 19)
invoked from within
"decode-frame $data $ptr $verify"
(procedure "::lz4::decode" line 9)
invoked from within
"::lz4::decode $data $verify"
invoked from within
"if {[info exists argv0] && ([file tail [info script]] eq [file tail $argv0])} {
if {$argv eq {--test}} {
::lz4::test
} elseif {[lindex..."
(file "/home/cecil/bin/lz4.tcl" line 338)
What do I need to do to get it working?
--
Cecil Westerhof
Senior Software Engineer
LinkedIn:
http://www.linkedin.com/in/cecilwesterhof