29[[nodiscard]] MAYAFLUX_API std::optional<Core::InputValue::OSCMessage>
30as_osc(
const Core::NetworkMessage& msg);
44[[nodiscard]] MAYAFLUX_API std::vector<uint8_t>
46 const std::vector<Core::InputValue::OSCArg>& args);
std::optional< Core::InputValue::OSCMessage > as_osc(const Core::NetworkMessage &msg)
Parse a NetworkMessage payload as an OSC message.
std::vector< uint8_t > serialize_osc(const std::string &address, const std::vector< Core::InputValue::OSCArg > &args)
Serialize an OSC message to wire bytes for sending via NetworkService.