pub fn to_data_line(data: &[u8]) -> Result<PacketLineRef<'_>, Error>
Expand description

Obtain a PacketLine from data after assuring data is small enough to fit.