Skip to content

Example code for Mailbox encode and decode functions? #1255

Answered by dlech
bradocchs asked this question in Q&A
Discussion options

You must be logged in to vote

If you just need to send single values, you can use the subcalsses like NumerciMailbox and TextMailbox.

You can look at the implementation of NumericMailbox for inspiration if you want something more complex. It uses ustruct. for packing and unpacking.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bradocchs
Comment options

Answer selected by bradocchs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants