Protocols

The following protocols are available globally.

  • A decoder type.

    Swift has no common built-in protocol for all decoder types. This protocol remedies that shortcoming. Furthermore, it enables type inference-based API support for decoder tpes conforming to the AnyDecoder protocol.

    See more

    Declaration

    Swift

    public protocol AnyDecoder
  • An encoder type.

    Swift has no common built-in protocol for all encoder types. This protocol remedies that shortcoming.

    See more

    Declaration

    Swift

    public protocol AnyEncoder
  • An file type.

    Swift has no common built-in protocol for all file types. This protocol remedies that shortcoming.

    See more

    Declaration

    Swift

    public protocol File