Back to Rxswift

DataDecoder

docs/Protocols/DataDecoder.html

6.10.2341 B
Original Source

DataDecoder

public protocol DataDecoder

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

`

                decode(_:from:)
                `

Undocumented

Declaration

Swift

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