binmap
Version, currently master branch1 version
- master branchlatestOct 11, 2018
github.com/maxpowa/binmap.cr
Binary mapping macro for crystal, used to deserialize binary data.
0 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
binmap:
github: maxpowa/binmap.cr
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.20.1- License
- MIT
- Author
- Max Gurela
Dependencies
This version declares no dependencies.
README
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
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Oct 11, 2018
- Crystal
0.20.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/maxpowa/binmap.cr
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 1