SwiftZip Documentation Beta

Structure Zip​Whence

public struct ZipWhence: RawRepresentable, Equatable

A reference point specifier for stream seek methods.

%3 ZipWhence ZipWhence Equatable Equatable ZipWhence->Equatable RawRepresentable RawRepresentable ZipWhence->RawRepresentable

Conforms To

Equatable
RawRepresentable

Initializers

init(raw​Value:​)

public init(rawValue: Int32)

Properties

raw​Value

let rawValue: Int32

origin

let origin

The reference point is the beginning of the file.

current​Position

let currentPosition

The reference point is the current value of the file-position indicator.

end

let end

The reference point is end of the file.