skipBlankTab reads (and discards) bytes from p.buf until it encounters a byte that is neither ' ' nor '\t'. That byte is left in p.currentByte.
()
| 542 | // skipBlankTab reads (and discards) bytes from p.buf until it encounters a byte |
| 543 | // that is neither ' ' nor '\t'. That byte is left in p.currentByte. |
| 544 | func (p *TextParser) skipBlankTab() { |
| 545 | for { |
| 546 | if p.currentByte, p.err = p.buf.ReadByte(); p.err != nil || !isBlankOrTab(p.currentByte) { |
| 547 | return |
| 548 | } |
| 549 | } |
| 550 | } |
| 551 | |
| 552 | // skipBlankTabIfCurrentBlankTab works exactly as skipBlankTab but doesn't do |
| 553 | // anything if p.currentByte is neither ' ' nor '\t'. |
no test coverage detected