OpenTTCN/Knowledge base/Standard codec explained/Table 5
From OpenTTCN
Home | Developer's corner | Knowledge base | Working documents | Documentation | OpenTTCN IDE | Tutorials | Training | How do I | Frequently asked questions | Technical support |
Examples of bitstring encodings
| TTCN-3 type | TTCN-3 value | Example encoding (hex) | Effective bits |
|---|---|---|---|
|
constrained | |||
|
LibCommon_DataStrings.Bit1 |
|
|
1 |
|
LibCommon_DataStrings.Bit1 |
|
|
1 |
|
LibCommon_DataStrings.Bit2 |
|
|
2 |
|
LibCommon_DataStrings.Bit2 |
|
|
2 |
|
LibCommon_DataStrings.Bit2 |
|
|
2 |
|
LibCommon_DataStrings.Bit2 |
|
|
2 |
|
LibCommon_DataStrings.Bit3 |
|
|
3 |
|
LibCommon_DataStrings.Bit5 |
|
|
5 |
|
LibCommon_DataStrings.Bit12 |
|
|
12 |
|
LibCommon_DataStrings.Bit15 |
|
|
15 |
|
LibCommon_DataStrings.Bit16 |
|
|
16 |
|
LibCommon_DataStrings.Bit17 |
|
|
17 |
|
LibCommon_DataStrings.Bit18 |
|
|
18 |
|
LibCommon_DataStrings.Bit32 |
|
|
32 |
|
LibCommon_DataStrings.Bit40 |
|
|
40 |
|
unconstrained | |||
|
bitstring |
|
|
32 |
|
bitstring |
|
|
32 |
|
bitstring |
|
|
40 |
|
bitstring |
|
|
40 |
