crtype
Version, currently master branch1 version
- master branchlatestSep 28, 2016
github.com/unn4m3d/crtype
No description declared in shard.yml.
6 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
crtype:
github: unn4m3d/crtype
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
- no constraint declared
- License
- MIT
- Author
- unn4m3d
Dependencies
This version declares no dependencies.
README
crtype
Types can be stored in variables
Installation
Add this to your application's shard.yml:
dependencies:
crtype:
github: unn4m3d/crtype
Usage
require "crtype"
types = Array(CrType::AbstractType).new
types.push CrType::Type(UInt8).new
types.push CrType::Type(UInt16).new
types.push CrType::Type(UInt32).new
types.push CrType::Type(UInt64).new
types.each{|e| puts e.inner_type.name}
int8 = 0u8
types.each{|e|
puts (e.inner_type.new(int8) - 1u8).to_s(16)
}
Contributing
- Fork it ( https://github.com/unn4m3d/crtype/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
- unn4m3d - creator, maintainer
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
- Sep 28, 2016
- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/unn4m3d/crtype
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 12, 2026
- Synced
- Aug 12, 2026
- Versions
- 1