encode
Encodes the set bits in a form suitable for ZIP archives.
Return
the encoded general purpose bits
Encodes the set bits in a form suitable for ZIP archives.
Parameters
buf
the output buffer
offset
The offset within the output buffer of the first byte to be written. must be non-negative and no larger than buf.length-2