code: func (s *lineEndingSplitter) dropCR(data []byte) []byte {
  	if len(data) > 0 && data[len(data)-1] == '\r' {
  		s.CRLFCount++
  		return data[0 : len(data)-1]
  	}
  	s.LFCount++
  	return data
  }
docs: // dropCR drops a terminal \r from the data.