method

readpartial

ruby latest stable - Class: Zlib::GzipReader
readpartial(p1, p2 = v2)
public

Reads at most maxlen bytes from the gziped stream but it blocks only if gzipreader has no data immediately available. If the optional outbuf argument is present, it must reference a String, which will receive the data. It raises EOFError on end of file.