pub fn parse_read_packet(packet: &str) -> Result<ReadPacket, PacketError>Expand description
Parse one 5522 reply packet with OSC framing already stripped.
packet is the inner 5522;metadata;payload content: the fork parser
owns framing (terminator scanning, the 16 KiB packet cap) and hands the
session exactly one complete packet per event. Unknown metadata keys are
ignored for forward compatibility; unknown status= values become
ReadErrorCode::Unknown so the read fails instead of hanging.
ยงErrors
Returns PacketError when the packet is malformed (see variants).