Zip64ExtendedInformationExtraField
Holds size and other extended information for entries that use Zip64 features.
Currently Commons Compress doesn't support encrypting the central directory so the note in APPNOTE.TXT about masking doesn't apply.
The implementation relies on data being read from the local file header and assumes that both size values are always present.
Since
1.2
See also
Constructors
Link copied to clipboard
constructor()
This constructor should only be used by the code that reads archives inside of Commons Compress.
Creates an extra field based on the original and compressed size.
constructor(size: ZipEightByteInteger, compressedSize: ZipEightByteInteger, relativeHeaderOffset: ZipEightByteInteger, diskStart: ZipLong)
Creates an extra field based on all four possible values.
Properties
Functions
Link copied to clipboard
The actual data to put into central directory - without Header-ID or length specifier.
Link copied to clipboard
Length of the extra field in the central directory - without Header-ID or length specifier.
Link copied to clipboard
The disk start number stored in this extra field.
Link copied to clipboard
The Header-ID.
Link copied to clipboard
The actual data to put into local file data - without Header-ID or length specifier.
Link copied to clipboard
Length of the extra field in the local file data - without Header-ID or length specifier.
Link copied to clipboard
Populate data from this array as if it was in central directory data.
Link copied to clipboard
Populate data from this array as if it was in local file data.
Link copied to clipboard
open fun reparseCentralDirectoryData(hasUncompressedSize: Boolean, hasCompressedSize: Boolean, hasRelativeHeaderOffset: Boolean, hasDiskStart: Boolean)
Parses the raw bytes read from the central directory extra field with knowledge which fields are expected to be there.
Link copied to clipboard
The disk start number stored in this extra field.