fill
open fun fill(field: ZipExtraField, data: Array<Byte>, off: Int, len: Int, local: Boolean): ZipExtraField
Fills in the extra field data for a single extra field.
A good default implementation would be fillExtraField.
Return
the filled field. Usually this is the same as
field but it could be a replacement extra field as well. Must not be null.
Parameters
field
the extra field instance to fill
data
the array of extra field data
off
offset into data where this field's data starts
len
the length of this field's data
local
whether the extra field data stems from the local file header. If this is false then the data is part if the central directory header extra data.
Throws
if an error occurs