FileSize

public class FileSize
extension FileSize: Hashable

Undocumented

  • Undocumented

    Declaration

    Swift

    public let bytes: Int64

Decimal prefix

  • KiB

    Kibibyte

    Declaration

    Swift

    public var KiB: Int64 { get }
  • MiB

    Mebibyte

    Declaration

    Swift

    public var MiB: Int64 { get }
  • GiB

    Gibibyte

    Declaration

    Swift

    public var GiB: Int64 { get }
  • TiB

    Tebibyte

    Declaration

    Swift

    public var TiB: Int64 { get }
  • PiB

    Pebibyte

    Declaration

    Swift

    public var PiB: Int64 { get }
  • EiB

    Exbibyte

    Declaration

    Swift

    public var EiB: Int64 { get }
  • ZiB

    Zebibyte

    Declaration

    Swift

    public var ZiB: Int64 { get }
  • YiB

    Yobibyte

    Declaration

    Swift

    public var YiB: Int64 { get }

Binary prefix

  • kB

    Kilobyte

    Declaration

    Swift

    public var kB: Int64 { get }
  • MB

    Megabyte

    Declaration

    Swift

    public var MB: Int64 { get }
  • GB

    Gigabyte

    Declaration

    Swift

    public var GB: Int64 { get }
  • TB

    Terabyte

    Declaration

    Swift

    public var TB: Int64 { get }
  • PB

    Petabyte

    Declaration

    Swift

    public var PB: Int64 { get }
  • EB

    Exabyte

    Declaration

    Swift

    public var EB: Int64 { get }
  • ZB

    Zettabyte

    Declaration

    Swift

    public var ZB: Int64 { get }
  • YB

    Yottabyte

    Declaration

    Swift

    public var YB: Int64 { get }
  • Declaration

    Swift

    public static func == (lhs: FileSize, rhs: FileSize) -> Bool
  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)
  • Undocumented

    Declaration

    Swift

    public static func + (lhs: FileSize, rhs: FileSize) -> FileSize
  • Undocumented

    Declaration

    Swift

    public static func - (lhs: FileSize, rhs: FileSize) -> FileSize