func (s *stripCR) Read(bufOut []byte) (int, error) {
	bufTemp := make([]byte, len(bufOut))
	n, err := s.reader.Read(bufTemp)
	bufReplaced := bytes.Replace(bufTemp[:n], byteCR, byteEmpty, -1)
	copy(bufOut, bufReplaced)
	return len(bufReplaced), err
}
// Read implements io.Reader interface.
// This copies data around much more than needed so should be optimized if
// used on a performance critical path.
Read implements io.Reader interface.
This copies data around much more than needed so should be optimized if
used on a performance critical path.
// Read implements io . Reader interface . // This copies data around much more than needed so should be optimized if // used on a performance critical path .
func (s *stripCR) Read(bufOut []byte) (int, error) {
	bufTemp := make([]byte, len(bufOut))
	n, err := s.reader.Read(bufTemp)
	bufReplaced := bytes.Replace(bufTemp[:n], byteCR, byteEmpty, -1)
	copy(bufOut, bufReplaced)
	return len(bufReplaced), err
}
func ( s * stripCR ) Read ( bufOut [ ] byte ) ( int , error ) { bufTemp := make ( [ ] byte , len ( bufOut ) ) n , err := s . reader . Read ( bufTemp ) bufReplaced := bytes . Replace ( bufTemp [ : n ] , byteCR , byteEmpty , - 1 ) copy ( bufOut , bufReplaced ) return len ( bufReplaced ) , err }
Read implements io.Reader interface.
Read implements io . Reader interface .