GeneralPurposeBit

Parser/encoder for the "general purpose bit" field in ZIP's local file and central directory headers.

Since

1.1

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val UFT8_NAMES_FLAG: Int = 2048
Indicates that file names are written in UTF-8.

Functions

Link copied to clipboard
open fun clone(): Any
Link copied to clipboard
open fun encode(): Array<Byte>
open fun encode(buf: Array<Byte>, offset: Int)
Encodes the set bits in a form suitable for ZIP archives.
Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun parse(data: Array<Byte>, offset: Int): GeneralPurposeBit
Parses the supported flags from the given archive data.
Link copied to clipboard
whether the current entry will use the data descriptor to store CRC and size information.
Link copied to clipboard
open fun useEncryption(b: Boolean)
whether the current entry will be encrypted.
Link copied to clipboard
whether the current entry uses the data descriptor to store CRC and size information.
Link copied to clipboard
whether the current entry is encrypted.
Link copied to clipboard
whether the current entry is encrypted using strong encryption.
Link copied to clipboard
whether the current entry will be encrypted using strong encryption.
Link copied to clipboard
whether the current entry uses UTF8 for file name and comment.
Link copied to clipboard
whether the current entry will use UTF8 for file name and comment.