pb_msg_t * pb_msg_read(const pb_buf_t *buf)
Read a binary buffer and attempt to deserialize it as a puzzle bus message.
Definition pb-msg.c:27
pb_buf_t pb_msg_write(const pb_msg_t *msg)
Serialize a message into a binary buffer.
Definition pb-msg.c:9
void pb_msg_free(pb_msg_t *msg)
Recursively free fields of a pb_msg_t.
Definition pb-msg.c:39
binary buffer struct
Definition pb-buf.h:18
puzzle bus message header / container (shared by all commands)
Definition pb-types.h:94