Kingfisher Documentation

Protocol Data​Transformable

public protocol DataTransformable  

Represents types which can be converted to and from data.

Requirements

to​Data()

func toData() throws -> Data

from​Data(_:​)

static func fromData(_ data: Data) throws -> Self

empty

static var empty: Self