You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-5Lines changed: 16 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,17 @@ The Framework is under [Apache License 2.0](http://www.apache.org/licenses/LICEN
11
11
12
12
Change log
13
13
===========
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))
14
25
-**1.1.0**
15
26
- Added support for mapped classes output into JBBPOut
16
27
- 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
33
44
<dependency>
34
45
<groupId>com.igormaznitsa</groupId>
35
46
<artifactId>jbbp</artifactId>
36
-
<version>1.1.0</version>
47
+
<version>1.2.0</version>
37
48
</dependency>
38
49
```
39
50
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
93
104
94
105
Supported data types and commands
95
106
==================================
96
-
-**bit[:<numberOfbits>]** - a bit field of fixed size (1..7 bits), by default 1
107
+
-**bit[:(<numberOfbits>|'('expression')')]** - a bit field of fixed size (1..7 bits), by default 1
97
108
-**byte** - a signed byte field (8 bits)
98
109
-**ubyte** - a unsigned byte field (8 bits)
99
110
-**bool** - a boolean field (1 byte)
100
111
-**short** - a signed short field (2 bytes)
101
112
-**ushort**- a unsigned short field (2 bytes)
102
113
-**int** - an integer field (4 bytes)
103
114
-**long** - a long field (8 bytes)
104
-
-**align[:<numberOfbytes>]** - align the counter for number of bytes, by default 1. NB: It works relative to the current read byte counter!
105
-
-**skip[:<numberOfbytes>]** - skip number of bytes, by default 1
106
-
-**var[:<numericvalue>]** - a var field which should be read through an external processor defined by the user
115
+
-**align[:(<numberOfbytes>|'('expression')')]** - align the counter for number of bytes, by default 1. NB: It works relative to the current read byte counter!
116
+
-**skip[:(<numberOfbytes>|'('expression')')]** - skip number of bytes, by default 1
117
+
-**var[:(<numericvalue>|'('expression')']** - a var field which should be read through an external processor defined by the user
107
118
-**reset$$** - reset the input stream read byte counter, it is very useful for relative alignment operations
0 commit comments