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
Release 3.0.1

3.0.1

  • 3.0.1 (24-dec-2024)
    • added MSB0_DIRECT bit order mode, MSB0 without data
      revers #46
    • added JBBPBitInputStream#isDetectedPartlyReadBitField to check that only part of bit field read during last
      operation
    • added flag into constructors for JBBPBitInputStream to force return -1 instead of partly accumulated bits data if
      end of field
11 months ago
Download
Release 3.0.0

3.0.0

3.0.0 (16-nov-2024)

  • Minimum JDK Version: Updated to 11.0.
  • Minimum Supported Android: Updated to 12 (API 32).
  • API Changes: Modifications made to the CompiledBlockVisitor API.
  • New Feature: Added JBBPUtils#findMaxStaticArraySize for calculating the largest static array size defined in a
    JBBP script.
  • Internal API: Certain internal APIs have been opened.
  • Codebase Improvements: General refactoring performed.
about 1 year ago
Download
Release 2.1.0

2.1.0

2.1.0 (05-nov-2024)

  • minor changes in API for JBBPVarFieldProcessor and JBBPCustomFieldTypeProcessor
  • provided way to control size of arrays read as stream rest #44
  • provided way to control size of arrays which size calculated through expressions #45
  • improved tests
about 1 year ago
Download
Release 2.0.6

2.0.6

  • 2.0.6 (01-jul-2023)
    • #42 unexpected exception during JBBPDslBuilder.AnnotatedClass method call
    • improved tests
over 2 years ago
Download
Release 2.0.5

2.0.5

2.0.5 (17-jun-2023)

  • #41 fix for Gradle plug-in
  • improved tests
over 2 years ago
Download
Release 2.0.3

2.0.3

2.0.3 (03-jan-2021)

  • added service methods JBBPUtils.traceData to print dump of an input stream into a PrintStream
  • improved JBBPTokenizerException to show marked error position #30
almost 5 years ago
Download
Maintenance release 2.0.2

2.0.2

2.0.2 (22-aug-2020)

  • added JBBPOut#Bin variant to override @Bin annotation fields in written objects.
  • #28 added JBBPOut#BinForceByteOrder to override byte order defined in @Bin annotations of written object.
about 5 years ago
Download
release 2.0.1

2.0.1

  • 2.0.1 (04-feb-2020)
    • #26 fixed bug in array write with MSB0
almost 6 years ago
Download
release 2.0.0

2.0.0

2.0.0 (20-nov-2019)

It has changes in mapping mechanism to decrease level of hacks and make compatibility with new JDK version. Minimal supported Java version increased to 1.8. Some renaming in Bin annotation and added extra fields.

changes:

  • removed DslBinCustom annotation, use @Bin annotation instead
  • renamed attributes of @Bin annotation to their correct form
  • reworked object mapping system, removed hacks to instantiate classes, now only mapping to objects allowed, support of private fields mapping is removed
  • minimal JDK version now 1.8+
  • minimal Android API now 3.0+
  • added support of getters and setters into mapping
  • added Object newInstance(Class) method support of mapped classes to generate local class member instances
  • added generating of makeFIELD() method for structure types in Java class converter
  • refactoring
almost 6 years ago
Download
release 1.4.1

1.4.1

  • fixed incompatibility in tokenizer regex syntax for Android SDK #23
  • added DslBinCustom annotation to provide way to mark custom type fields for JBBPDslBuilder
  • fixed NPE in JBBPDslBuilder for not-provided outBitNumber attribute in annotated field marked as type BIT or BIT_ARRAY #20
  • naming of fields has been made more tolerant, now it is allowed to have field names with names similar to data types
  • improved check of field names in JBBPDslBuilder #21
over 7 years ago
Download