xb_read
err = xb_read(&msg->hdr, sizeof (msg->hdr));
err = xb_read(body, msg->hdr.len);
int xb_read(void *data, unsigned len);