Popularity
5.2
Growing
Activity
1.2
-
18
3
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.
-
guardian
File change watcher for Crystal and Non-Crystal libs -
immutable
Implementation of thread-safe, persistent, immutable collections -
crystagiri
An Html Reader / parser like Nokogiri Ruby gem -
inflector.cr
Singularize, pluralize, camelize, etc (port from ActiveSupport) -
crystal-diff
A Crystal sequence differencing implementation -
any_hash.cr
Recursive Hash with better JSON::Any included -
burocracia.cr
burocracia.cr the dependecyless shard to validate, generate and format Brazilian burocracias such as CPF, CNPJ and CEP -
chalk-box
Terminal color toolbox, check support and colorized (without String monkey patch) -
CrSerializer
Extensible annotation based serialization/deserialization library -
circuit_breaker
Implementation of the circuit breaker pattern -
crystal-web-framework-stars
Web frameworks for Crystal, most starred on Github -
atomic_write.cr
Library for writing or apppending files atomically -
message_verifier.cr
Verify and generate Rails ActiveSupport::MessageVerifier signed tokens -
sslscan.cr
Crystal shard wrapping the rbsec/sslscan utility
Get performance insights in less than 4 minutes
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Sponsored
scoutapm.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.