DataDecoder

public protocol DataDecoder

Represents an entity capable of decoding raw Data into a concrete Decodable type

  • Undocumented

    Declaration

    Swift

    func decode<Item>(_ type: Item.Type, from data: Data) throws -> Item where Item : Decodable