7std::optional<Core::InputValue::OSCMessage>
14 return result->as_osc();
19 const std::vector<Core::InputValue::OSCArg>& args)
static std::optional< InputValue > parse(const uint8_t *data, size_t size, uint32_t device_id=0)
Parse a single OSC message from raw bytes.
static std::vector< uint8_t > serialize(const std::string &address, const std::vector< InputValue::OSCArg > &args)
Serialize an OSC message to wire format.
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.
std::vector< uint8_t > data
A received datagram or framed message with sender metadata.