DataEncodingStrategy

public enum DataEncodingStrategy

Defines available strategies when encoding Data instances.

  • Encodes the data using Base 64.

    Declaration

    Swift

    case base64
  • Delegates the encoding to the closure provided.

    Declaration

    Swift

    case custom((Data, Encoder) throws -> Void)