SwiftZip Documentation Beta

Structure Zip​String​Decoding​Strategy

public struct ZipStringDecodingStrategy: RawRepresentable, Equatable

A strategy used to parse string values in the archive

%3 ZipStringDecodingStrategy ZipStringDecodingStrategy RawRepresentable RawRepresentable ZipStringDecodingStrategy->RawRepresentable Equatable Equatable ZipStringDecodingStrategy->Equatable

Conforms To

Equatable
RawRepresentable

Initializers

init(raw​Value:​)

public init(rawValue: UInt32)

Properties

raw​Value

let rawValue: UInt32

guess

let guess

Guess the encoding of the string in the ZIP archive and convert it to UTF-8, if necessary.

strict

let strict

Follow the ZIP specification for file names and extend it to file comments, expecting them to be encoded in CP-437 in the ZIP archive (except if it is a UTF-8 comment from the special extra field). Convert it to UTF-8.