binmap.cr
binmap.cr
Binary mapping macro for crystal, building as standalone for now with plans to cleanup and PR to stdlib.
Installation
Add this to your application's shard.yml
:
dependencies:
binmap:
github: maxpowa/binmap.cr
Usage
require "binmap"
class BasicMapping
Binary.mapping(
foo: UInt8,
bar: Int16,
baz: Float32
)
end
BasicMapping.new(io)
TODO: Document supported types
Development
TODO: Write development instructions here
Contributing
- Fork it ( https://github.com/maxpowa/binmap.cr/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
Contributors
Repository
binmap.cr
Owner
Statistic
- 0
- 1
- 0
- 0
- 0
- about 6 years ago
- December 16, 2016
License
MIT License
Links
Synced at
Thu, 07 Nov 2024 03:39:12 GMT
Languages