Function parse_osc_message

Source
pub fn parse_osc_message(
    data: &[u8],
    source_node_id: NodeId,
) -> Result<Vec<NetMessage>>
Expand description

Parse a raw OSC message and convert to NetMessage.

§Arguments

  • data - Raw OSC packet bytes
  • source_node_id - Node ID to attribute the message to

§Returns

A vector of NetMessages parsed from the packet.