We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I am using the SbeOtfDecoder to decode the CME message and I found it is not decoding the messages correctly in the case Ir::CHAR:
case Ir::CHAR: if (f.length(index) == 1) { std::cout << " type=CHAR value=\"" << (char)f.getUInt(index) << "\""; } else { char tmp[1024]; // copy data to temp array and print it out. f.getArray(index, tmp, 0, f.length(index)); std::cout << " type=CHAR value=\"" << std::string(tmp, f.length(index)) << "\""; }
in the else statement, the string we get will not get null terminator sometimes. I was just wondering how to solve this issue.
Thanks.
The text was updated successfully, but these errors were encountered:
C++ OTF decoder has been significantly changed. So, closing.
Sorry, something went wrong.
No branches or pull requests
Hi,
I am using the SbeOtfDecoder to decode the CME message and I found it is not decoding the messages correctly in the case Ir::CHAR:
in the else statement, the string we get will not get null terminator sometimes. I was just wondering how to solve this issue.
Thanks.
The text was updated successfully, but these errors were encountered: