Skip to content

Sequence encode #148

New issue

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

Merged
merged 2 commits into from
Mar 16, 2025
Merged

Conversation

martinfantini
Copy link
Contributor

Here is also a case of encoding optional sequence with none operator.

@@ -22,7 +22,7 @@ TEST_CASE("simple field and sequence optional encoder_v2/decoder_v2","[field_seq
// 1 : Set Template Id.
// 1 : Set Field field_1_1
// 0 : XXX
REQUIRE(test_case.encoding(test_1.cref(),"\xE0\x81\x82\x81",true));
REQUIRE(test_case.encoding(test_1.cref(),"\xE0\x81\x82\x80",true));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here was an error of encoding and i got different value from the encoding v1.

@martinfantini martinfantini force-pushed the sequence_encode branch 2 times, most recently from 64e427a to 5dd2eff Compare March 8, 2025 13:41
@martinfantini martinfantini mentioned this pull request Mar 10, 2025
@huangminghuang huangminghuang merged commit 2979409 into objectcomputing:master Mar 16, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants