c
payload_size = static_cast<uint32_t>(smh->submessageLength - static_cast<uint64_t>(msg->pos + 4)); 
