uncompressedSize: get size of uncompressed .gz file from 4-byte footer

Description Usage Arguments Value

Description

get size of uncompressed .gz file from 4-byte footer

Usage

1

Arguments

gzfile

character scalar filename

Value

the signed integer taken from the last 4 bytes of the file (little-endian). This only represents the size of the last complete gz stream in the file, and if the file does nto end with a completed gz stream, then the value returned by this function is invalid.

i.e. this function's return value is only valid if compressedFileDone(gzfile) == TRUE


jbrzusto/motusServer documentation built on May 19, 2019, 8:19 a.m.