AbstractUnicodeExtraField

A common base class for Unicode extra information extra fields.

Inheritors

Properties

Link copied to clipboard
Size of an extra field field header (id + length).
Link copied to clipboard
open var nameCRC32: Long
Link copied to clipboard

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
abstract fun getHeaderId(): ZipShort
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
open fun parseFromCentralDirectoryData(buffer: Array<Byte>, offset: Int, length: Int)
Doesn't do anything special since this class always uses the same data in central directory and local file 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.