utf8Scanner is wrapping the provided scanner with UTF-8 checks and a modifier function.
| 35 | |
| 36 | // utf8Scanner is wrapping the provided scanner with UTF-8 checks and a modifier function. |
| 37 | type utf8Scanner struct { |
| 38 | nextLine []byte |
| 39 | nextErr error |
| 40 | |
| 41 | modifier func([]byte) []byte |
| 42 | scanner Scanner |
| 43 | } |
| 44 | |
| 45 | func (s *utf8Scanner) Scan() bool { |
| 46 | scanOut := s.scanner.Scan() |
nothing calls this directly
no outgoing calls
no test coverage detected