Popularity
5.2
Stable
Activity
1.8
Stable
18
5
2
Programming language: Crystal
License: MIT License
Tags:
Misc
Latest version: v0.1.1
crystal-binary_parser alternatives and similar shards
Based on the "Misc" category.
Alternatively, view crystal-binary_parser alternatives based on common mentions on social networks and blogs.
-
sentry
Build/Runs your crystal application, watches files, and rebuilds/restarts app on file changes -
burocracia.cr
👔 Zero-dependency Crystal shard to validate, generate and format Brazilian burocracias (CPF, CNPJ, CEP) -
wikicr
Wiki in crystal, using Markdown and Git, inspired by dokuwiki. Last features to build are pretty hard, if you have some time to help... :) -
defined
This shard provides facilities for checking whether a constant exists at compile time, and for a variety of different conditional compilation options. Code can be conditionally compiled based on the existence of a constant, version number constraints, or whether an environment variable is set truthy or not.
InfluxDB - Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
Promo
www.influxdata.com
Do you think we are missing an alternative of crystal-binary_parser or a related project?
README
crystal-binary_parser
Description
A binary parser for crystal.
Requirement
- crystal >= 0.20.0
Install
Add this to your shard.yml
dependencies:
binary_parser:
github: DanSnow/crystal-binary_parser
Feature
- Parse and write binary file
- Support array (fixed size or variable size)
- Support string (fixed length or valirable length)
- Support nested parser
- Support config which endian to use
- Calculate byte size
Usage
require "binary_parser"
class Parser < BinaryParser
uint8 :foo
end
# Load a file
parser = Parser.new
parser.load("<filename>")
# Or from IO
io = File.open("<filename>")
parser = Parser.new
parser.load(io)
# Now you can get your data
puts parser.foo
License
MIT
*Note that all licence references and agreements mentioned in the crystal-binary_parser README section above
are relevant to that project's source code only.