Skip to content

Wrapper for data or string objects. Uses a custom buffer for storage. Allows the user to specify encoding and decoding functions which are used to convert to stored representation and back.

License

Notifications You must be signed in to change notification settings

werner77/FFDataWrapper

 
 

Repository files navigation

FFDataWrapper

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.

How to Install

Cocoapods

To use with cocoapods, add the following line to your Podfile:

pod 'FFDataWrapper', '~> 1.6'

Carthage

To use with Carthage, add the following line to your Cartfile:

github "flockoffiles/FFDataWrapper" ~> 1.6

How to Use

See FFDataWrapper.swift and FFDataWrapper+Initialization.swift for possible initializers.

About

Wrapper for data or string objects. Uses a custom buffer for storage. Allows the user to specify encoding and decoding functions which are used to convert to stored representation and back.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 98.8%
  • Other 1.2%