Reset the reader, and add new input.
(d []byte)
| 50 | |
| 51 | // Reset the reader, and add new input. |
| 52 | func (r *ffReader) Reset(d []byte) { |
| 53 | r.s = d |
| 54 | r.i = 0 |
| 55 | r.l = len(d) |
| 56 | } |
| 57 | |
| 58 | // Calculates the Position with line and line offset, |
| 59 | // because this isn't counted for performance reasons, |
nothing calls this directly
no outgoing calls
no test coverage detected