(CharArr arr, int lim)
| 610 | |
| 611 | // continuation of readExpStart |
| 612 | private int readExpDigits(CharArr arr, int lim) throws IOException { |
| 613 | while (--lim >= 0) { |
| 614 | int ch = getChar(); |
| 615 | if (ch >= '0' && ch <= '9') { |
| 616 | arr.write(ch); |
| 617 | } else { |
| 618 | if (ch != -1) start--; // back up |
| 619 | return NUMBER; |
| 620 | } |
| 621 | } |
| 622 | return BIGNUMBER; |
| 623 | } |
| 624 | |
| 625 | private void continueNumber(CharArr arr) throws IOException { |
| 626 | if (arr != out) arr.write(out); |
no test coverage detected