A library that aims to provide the pack() and unpack() methods to make porting Ruby code to Crystal easier.
Far from complete so far at this covers a pretty broad feature set.
Currently from source only:
git clone https://github.com/Fusion/crystal-pack.gitlakewill build the small C dependencycrystal build src/crystal-pack.cr
Well, you could easily remove it from the project if you do not care about the semantics of using "!" as a modifier (== "use native sizes")
This library adds pack() and unpack() to String and Array.
Again, this is not fully developed yet.
The usual. If you wish to help, use Github's pull requests.
- Fork it ( https://github.com/fusion/crystal-pack/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
- [Chris Ravenscroft] - creator, maintainer