Displaying 1 result from an estimated 1 matches for "prespecif".
Did you mean:
prespecify
2005 Jan 05
0
zlib
...d", zlib.decompress(data)) #decompress data and
convert bytes to 3 doubles
I also tried:
data = readBin(gzcon(infile), integer(), compresslength, 1)
But it returns what I asked for....a vector of 1 bytes with a length equal
to compresslength. It seems that the arguments to readBin require
prespecification of the result, which I can't really provide. gzfile and
gzcon wrap a connection, but then in order to readBin from the connection, I
need to specify the data type, the number of items, and the number of bytes
per item. But I don't know this since zlib did the compressing. The gzip...