Releases: anfema/bin-grammar
Releases · anfema/bin-grammar
Delimited strings
- Add
delimString
, thanks blowback
3.2.0
- Bugfix: CRC calculation failed (failed the test-suite too, how could this happen)
- Added
base
option toasciiinteger
- Code cleanup to validate with eslint
3.1.2
- Bugfix: Prefixed loops did throw an exception
3.1.1
- Bugfix: CRC did log a mismatch sometimes even if it actually was a match.
3.1.0
- Allow unbounded strings that will grab the rest of the buffer (a string with no options)
3.0.1
- Bugfix: If you had multiple cascaded selector elements in a crc the size field calculation did not work
3.0.0
- Big internal refactoring, interface for parser functions changed substantially
- Can now encode data to binary in addition to parsing from binary to Javascript Objects
- Can create templates for grammars to fill and encode to binary buffers
- Names are now lowercase as eslint complains on anything that is not a class if it begins with an uppercase letter
2.0.0
- Allow for default endianness setting on parser invocation to avoid sprinkling
bigEndian: false
everywhere when parsing little endian packets. This changed the interface, so we bumped to 2.0.0
1.1.0
- Add the
flatten
option to the Selector-DataType
1.0.1
- Bugfix: off by one error when parsing variable length zero terminated strings