[−][src]Function git_packetline::decode::to_data_line
pub fn to_data_line(data: &[u8]) -> Result<PacketLine<'_>, Error>
Obtain a PacketLine from data after assuring data is small enough to fit.
pub fn to_data_line(data: &[u8]) -> Result<PacketLine<'_>, Error>
Obtain a PacketLine from data after assuring data is small enough to fit.