An open API service providing repository metadata for many open source software ecosystems.

GitHub / raydac / java-binary-block-parser

most comfortable and dynamic way to process binary data in Java and Android

JSON API: http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raydac%2Fjava-binary-block-parser
PURL: pkg:github/raydac/java-binary-block-parser

Stars: 246
Forks: 32
Open issues: 1

License: apache-2.0
Language: Java
Size: 10.2 MB
Dependencies parsed at: Pending

Created at: over 10 years ago
Updated at: 4 months ago
Pushed at: 4 months ago
Last synced at: 4 months ago

Commit Stats

Commits: 687
Authors: 3
Mean commits per author: 229.0
Development Distribution Score: 0.003
More commit stats: https://commits.ecosyste.ms/hosts/GitHub/repositories/raydac/java-binary-block-parser

Topics: data-parsing, dsl, java, parser

Releases
1.4.0 release

1.4.0

  • added type val which allows to create virtual field with calculated value, can play role of variable in scripts
  • val and var have been added into reserved words and can’t be used as field names
  • added field outByteOrder attribute to Bin annotation, it affects logic of JBBPOut#Bin for output of annotated objects which fields should be saved with different byte order
  • removed deprecated method JBBPFinderException#getNameOrPath
  • added auxiliary class to build JBBP script
  • added flag JBBPParser#FLAG_NEGATIVE_EXPRESSION_RESULT_AS_ZERO to recognize negative expression result as zero
  • improved Java 6 class source generator to process FLAG_SKIP_REMAINING_FIELDS_IF_EOF for structure fields
  • added stable automatic module name igormaznitsa.jbbp into manifest file
  • added support of float, double and string java types, as floatj,doublej and stringj
over 7 years ago
Download
1.3.0 release

1.3.0

1.3.0

  • fixed NPE when referencing a JBBPCustomFieldTypeProcessor parsed field
  • added Maven plugin to generate sources from JBBP scripts
  • added Gradle plugin to generate sources from JBBP scripts
  • added extra byte array reading writing methods with byte order support into JBBPBitInputStream and JBBPBitOutputStream
  • added converter of compiled parser data into Java class sources (1.6+)
  • added method to read unsigned short values as char [] into JBBPBitInputStream
  • Class version target has been changed to Java 1.6
  • fixed compatibiity of tests with Java 1.6
  • Minor refactoring
about 8 years ago
Download
release 1.2.1

1.2.1

over 9 years ago
Download
1.2.0 release

1.2.0

1.2.0

  • Refactoring
  • Improved tree of JBBP exceptions
  • Fixed NPE in JBBPTextWriter for String field mapped to byte array
  • Added support of custom field types through JBBPCustomFieldTypeProcessor
  • Added JBBPCustomFieldTypeProcessorAggregator, auxiliary class to join several JBBPCustomFieldTypeProcessors
  • Fixed JBBPTextWriter, added support of logging for JBBPAbstractField objects
  • Added support of payload objects in JBBPAbstractField
  • Improved inside script compiler and interpreter to support future extensions.
  • Fixed expression evaluator to support single char field names in expressions.
  • Added support of expressions in extra field numeric data part (example bit:(field*2))
over 10 years ago
Download