Skip to content

Commit 9e73263

Browse files
committed
Update README.md
1 parent c22bcad commit 9e73263

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

README.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,17 @@ The Framework is under [Apache License 2.0](http://www.apache.org/licenses/LICEN
1111

1212
Change log
1313
===========
14+
- **1.2.0**
15+
- Refactoring
16+
- Improved tree of JBBP exceptions
17+
- Fixed NPE in JBBPTextWriter for String field mapped to byte array
18+
- Added support of custom field types through JBBPCustomFieldTypeProcessor
19+
- Added JBBPCustomFieldTypeProcessorAggregator, auxiliary class to join several JBBPCustomFieldTypeProcessors
20+
- Fixed JBBPTextWriter, added support of logging for JBBPAbstractField objects
21+
- Added support of payload objects in JBBPAbstractField
22+
- Improved inside script compiler and interpreter to support future extensions.
23+
- Fixed expression evaluator to support single char field names in expressions.
24+
- Added support of expressions in extra field numeric data part (example bit:(field*2))
1425
- **1.1.0**
1526
- Added support for mapped classes output into JBBPOut
1627
- Added JBBPTextWriter to log binary data as text with commentaries,tabs and separators
@@ -33,7 +44,7 @@ The Framework is published in the Maven Central thus it can be added as a depend
3344
<dependency>
3445
<groupId>com.igormaznitsa</groupId>
3546
<artifactId>jbbp</artifactId>
36-
<version>1.1.0</version>
47+
<version>1.2.0</version>
3748
</dependency>
3849
```
3950
also the precompiled jar, javadoc and sources can be downloaded manually from [the Maven central.](http://search.maven.org/#browse|808871750)
@@ -93,17 +104,17 @@ The first char shows the byte order to be used for parsing of the field (if the
93104

94105
Supported data types and commands
95106
==================================
96-
- **bit[:<number Of bits>]** - a bit field of fixed size (1..7 bits), by default 1
107+
- **bit[:(<number Of bits>|'('expression')')]** - a bit field of fixed size (1..7 bits), by default 1
97108
- **byte** - a signed byte field (8 bits)
98109
- **ubyte** - a unsigned byte field (8 bits)
99110
- **bool** - a boolean field (1 byte)
100111
- **short** - a signed short field (2 bytes)
101112
- **ushort**- a unsigned short field (2 bytes)
102113
- **int** - an integer field (4 bytes)
103114
- **long** - a long field (8 bytes)
104-
- **align[:<number Of bytes>]** - align the counter for number of bytes, by default 1. NB: It works relative to the current read byte counter!
105-
- **skip[:<number Of bytes>]** - skip number of bytes, by default 1
106-
- **var[:<numeric value>]** - a var field which should be read through an external processor defined by the user
115+
- **align[:(<number Of bytes>|'('expression')')]** - align the counter for number of bytes, by default 1. NB: It works relative to the current read byte counter!
116+
- **skip[:(<number Of bytes>|'('expression')')]** - skip number of bytes, by default 1
117+
- **var[:(<numeric value>|'('expression')']** - a var field which should be read through an external processor defined by the user
107118
- **reset$$** - reset the input stream read byte counter, it is very useful for relative alignment operations
108119

109120
Structures

0 commit comments

Comments
 (0)