Find the CRC (hash) of a gzip encoded NRRD file
NrrdCrc(infile, UseGzip = FALSE, FastHeader = TRUE)
infile | Input/output files |
---|---|
UseGzip | Whether to use the gzip command line tool to extract CRC
(default |
FastHeader | Parse only essential parts of NRRD header to save time. |
: Defaults to a quick method based on knowledge of gzip file format from: http://www.gzip.org/zlib/rfc-gzip.html and assumption that there is only one member in gzip data. Can also use gzip but this is much slower since have to copy unu data to temporary file.