writePreamble

open fun writePreamble(preamble: Array<Byte>)

Write preamble data. For most of time, this is used to make self-extracting zips.

Since

1.21

Parameters

preamble

data to write

Throws

if an entry already exists


open fun writePreamble(preamble: Array<Byte>, offset: Int, length: Int)

Write preamble data. For most of time, this is used to make self-extracting zips.

Since

1.21

Parameters

preamble

data to write

offset

the start offset in the data

length

the number of bytes to write

Throws

if an entry already exists