FFDataWrapper is a struct which wraps a piece of data and provides some custom internal representation for it. Conversions between original and internal representations can be specified with encoder and decoder closures.
To use with cocoapods, add the following line to your Podfile:
pod 'FFDataWrapper', '~> 1.6'
To use with Carthage, add the following line to your Cartfile:
github "flockoffiles/FFDataWrapper" ~> 1.6
See FFDataWrapper.swift and FFDataWrapper+Initialization.swift for possible initializers.