Skip to content
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

z_bytes example #218

Merged
merged 15 commits into from
Sep 20, 2024
Merged

Conversation

yellowhatter
Copy link
Contributor

No description provided.

@yellowhatter yellowhatter added enhancement New feature or request release Part of the next release labels Sep 17, 2024
@yellowhatter yellowhatter self-assigned this Sep 17, 2024
@yellowhatter yellowhatter marked this pull request as ready for review September 19, 2024 10:09
@yellowhatter yellowhatter changed the title wip on z_bytes example z_bytes example Sep 19, 2024
const auto output = payload.deserialize<uint32_t>();
assert(input == output);
// Corresponding encoding to be used in operations like `.put()`, `.reply()`, etc.
const auto encoding = Encoding("zenoh/uint32");
Copy link
Member

Choose a reason for hiding this comment

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

Do we have Encoding constants instead of using the string form?

Copy link
Contributor

@DenisBiryukov91 DenisBiryukov91 Sep 19, 2024

Choose a reason for hiding this comment

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

not yet, will do in separate pr, since they are introduced in pico by eclipse-zenoh/zenoh-pico#673

@Mallets
Copy link
Member

Mallets commented Sep 19, 2024

Protobuf example is still missing

@yellowhatter
Copy link
Contributor Author

Protobuf example is still missing

Added!

@yellowhatter
Copy link
Contributor Author

yellowhatter commented Sep 20, 2024

[closes #216]

GOOGLE_PROTOBUF_VERIFY_VERSION;

// Construct PB message
Book input;
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

aligned!

@Mallets Mallets merged commit 810d3da into eclipse-zenoh:main Sep 20, 2024
16 checks passed
@Mallets Mallets mentioned this pull request Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request release Part of the next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants