UnrecognizedExtraField

Simple placeholder for all those extra fields we don't want to deal with.

Assumes local file data and central directory entries are identical - unless told the opposite.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Size of an extra field field header (id + length).
Link copied to clipboard
open var headerId: ZipShort
The Header-ID.

Functions

Link copied to clipboard
Get the central data.
Link copied to clipboard
Get the central data length.
Link copied to clipboard
Get the local data.
Link copied to clipboard
Get the length of the local data.
Link copied to clipboard
open fun parseFromCentralDirectoryData(data: Array<Byte>, offset: Int, length: Int)
Link copied to clipboard
open fun parseFromLocalFileData(data: Array<Byte>, offset: Int, length: Int)
Link copied to clipboard
Set the extra field data in central directory.
Link copied to clipboard
Set the extra field data in the local file data - without Header-ID or length specifier.