pub fn decode_text_line(payload: &[u8]) -> Result<String, ProtocolError>Expand description
Decode a data payload as text, stripping one optional trailing LF.
gitprotocol-common: receivers MUST treat non-binary pkt-lines the same whether or not the trailing LF is present (strip it if present; do not complain if missing).