Skip to content

Commit a926cd4

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

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,18 +104,20 @@ The first char shows the byte order to be used for parsing of the field (if the
104104

105105
Supported data types and commands
106106
==================================
107-
- **bit[:(<number Of bits>|'('expression')')]** - a bit field of fixed size (1..7 bits), by default 1
107+
- **bit[:(number_of_bits|expression_in_parentheses)]** - a bit field of fixed size (1..7 bits), by default 1
108108
- **byte** - a signed byte field (8 bits)
109109
- **ubyte** - a unsigned byte field (8 bits)
110110
- **bool** - a boolean field (1 byte)
111111
- **short** - a signed short field (2 bytes)
112112
- **ushort**- a unsigned short field (2 bytes)
113113
- **int** - an integer field (4 bytes)
114114
- **long** - a long field (8 bytes)
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
118-
- **reset$$** - reset the input stream read byte counter, it is very useful for relative alignment operations
115+
- **align[:(number_of_bytes|expression_in_parentheses)]** - 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_in_parentheses)]** - skip number of bytes, by default 1
117+
- **var[:(numeric_value|expression_in_parentheses)]** - a var field which should be read through an external processor defined by the user
118+
- **reset$$** - reset the input stream read byte counter, it is very useful for relative alignment operations
119+
120+
__expression_in_parentheses - means (expression)__
119121

120122
Structures
121123
===========

0 commit comments

Comments
 (0)