CompressionLevel
struct CompressionLevel : RawRepresentable, Sendable
Compression level whose rawValue is based on the zlib’s constants.
-
Compression level in the range of
0(no compression) to9(maximum compression).Declaration
Swift
public let rawValue: Int32 -
Declaration
Swift
public static let noCompression: MoEngageStorage.Network.GZip.CompressionLevel -
Declaration
Swift
public static let bestSpeed: MoEngageStorage.Network.GZip.CompressionLevel -
Declaration
Swift
public static let bestCompression: MoEngageStorage.Network.GZip.CompressionLevel -
Declaration
Swift
public static let defaultCompression: MoEngageStorage.Network.GZip.CompressionLevel -
Declaration
Swift
public init(rawValue: Int32) -
Declaration
Swift
public init(_ rawValue: Int32)