Skip to main content

parse_event_command

Function parse_event_command 

Source
pub fn parse_event_command(packet: &[u8]) -> Result<Vec<U3vEvent>, U3vError>
Expand description

The events in one event command.

A packet that is not an event command, or whose events do not tile its length, is an error; a command carrying no event is an empty list.