pub fn data_from_bytes(channel: u8, buf: &[u8]) -> Option<Data>
Expand description

Convert slice of bytes to respective Data variant.