We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d00599c commit 2fd90e0Copy full SHA for 2fd90e0
src/message.cpp
@@ -19,6 +19,14 @@ namespace libdbc {
19
if (size > 8)
20
return false; // not supported yet
21
22
+ // Currently only little endian will be supported, because
23
+ // The code below was not tested with bigendian!
24
+ // All signals must be little endian
25
+ for (const auto& signal: m_signals) {
26
+ if (signal.is_bigendian)
27
+ return false;
28
+ }
29
+
30
uint64_t data_little_endian = 0;
31
uint64_t data_big_endian = 0;
32
for (int i=0; i < size; i++) {
src/utils.cpp
@@ -72,4 +72,4 @@ namespace utils {
72
return start == end ? std::string() : line.substr(start, end - start + 1);
73
}
74
75
-} // Namespace Utils
+} // Namespace Utils
0 commit comments