-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement all encodings of base data type
For integers, this means packed and unpacked BCD, two-complement, one-complement and sign-magnitude, strings can be encoded using UTF-8, UTF-16 big or little endian, ISO 8859-1 (latin1), ISO 8859-2 (latin2) and using Windows codepage 1252. Finally floating point values can be encoded using 32 and 64 bit ISO 754 representation. Be aware that I'm not sure if the bit mask is handled correctly for negative integers (or even if there is a "correct" handling of bit masks for negative integers). Also, I suspect that most ODX implementations encountered in the wild behave slightly differently for non byte-aligned negative integers... Signed-off-by: Andreas Lauser <andreas.lauser@mercedes-benz.com> Signed-off-by: Christian Hackenbeck <christian.hackenbeck@mercedes-benz.com>
- Loading branch information
Showing
14 changed files
with
617 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.