DictionaryDataDecodingStrategy

public enum DictionaryDataDecodingStrategy

The strategies for decoding raw data.

  • The strategy that encodes data using the encoding specified by the data instance itself.

    Declaration

    Swift

    case deferredToData
  • The strategy that decodes data using Base 64 decoding.

    Declaration

    Swift

    case base64
  • The strategy that decodes data using a user-defined function.

    Declaration

    Swift

    case custom((_ decoder: Decoder) throws -> Data)