UnparseableExtraFieldData

Wrapper for extra field data that doesn't conform to the recommended format of header-tag + size + data.

The header-id is artificial (and not listed as a known ID in APPNOTE.TXT). Since it isn't used anywhere except to satisfy the ZipExtraField contract it shouldn't matter anyway.

Since

1.1

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
Size of an extra field field header (id + length).

Functions

Link copied to clipboard
Length of the complete extra field in the central directory.
Link copied to clipboard
open fun getHeaderId(): ZipShort
The Header-ID.
Link copied to clipboard
The actual data to put into local file data.
Link copied to clipboard
Length of the complete extra field in the local file data.
Link copied to clipboard
open fun parseFromCentralDirectoryData(buffer: Array<Byte>, offset: Int, length: Int)
Populate data from this array as if it was in central directory data.
Link copied to clipboard
open fun parseFromLocalFileData(buffer: Array<Byte>, offset: Int, length: Int)
Populate data from this array as if it was in local file data.