ExtraField

public struct ExtraField

Represents an extra field in the header of a GZip archive.

  • si1

    First byte of the extra field (subfield) ID.

    Declaration

    Swift

    public let si1: UInt8
  • si2

    Second byte of the extra field (subfield) ID.

    Declaration

    Swift

    public let si2: UInt8
  • Binary content of the extra field.

    Declaration

    Swift

    public var bytes: [UInt8]
  • Initializes an extra field with the specified extra field (subfield) ID bytes and its binary content.

    Declaration

    Swift

    public init(_ si1: UInt8, _ si2: UInt8, _ bytes: [UInt8])