Hexstring RAW fix (#issue 557)
The RAW encoding of hextring with
- FIELDORDER(msb)
- HEXORDER(high)
- Field starts on half octet
fails
The hexstring starting of half octet is handled specially as only the hex digits in the whole octets should be swapped.
Because the buffer is filled diferently in the case of different FIELDORDER, the hex digit swapping should be adopted to the FIELDORDER
Signed-off-by:
Gabor Szalai <gabor.szalai@ericsson.com>
parent
bd195b6c
No related branches found
No related tags found
Showing
- core/Encdec.cc 5 additions, 4 deletionscore/Encdec.cc
- regression_test/EncodeDecode/RAW/Makefile 1 addition, 1 deletionregression_test/EncodeDecode/RAW/Makefile
- regression_test/EncodeDecode/RAW/issue557/.gitignore 8 additions, 0 deletionsregression_test/EncodeDecode/RAW/issue557/.gitignore
- regression_test/EncodeDecode/RAW/issue557/Issue557.ttcn 67 additions, 0 deletionsregression_test/EncodeDecode/RAW/issue557/Issue557.ttcn
- regression_test/EncodeDecode/RAW/issue557/Makefile 149 additions, 0 deletionsregression_test/EncodeDecode/RAW/issue557/Makefile
- regression_test/EncodeDecode/RAW/issue557/config.cfg 20 additions, 0 deletionsregression_test/EncodeDecode/RAW/issue557/config.cfg
Loading
Please register or sign in to comment