Fills specified buffer with compressed data. Returns actual number
of bytes of compressed data. A return value of 0 indicates that
needsInput() should be called in order to determine if more input
data is required.
Returns:
the actual number of bytes of compressed data
Parameters:
-
b - the buffer for the compressed data
-
off - the start offset of the data
-
len - the maximum number of bytes of compressed data