Function gix_packetline::decode::to_data_line
source ยท 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.
pub fn to_data_line(data: &[u8]) -> Result<PacketLineRef<'_>, Error>
Obtain a PacketLine
from data
after assuring data
is small enough to fit.