Consume whitespace characters in bulk, leaving the first non-whitespace character unconsumed.
()
| 174 | * Consume whitespace characters in bulk, leaving the first non-whitespace character unconsumed. |
| 175 | */ |
| 176 | public void skipWhitespace() { |
| 177 | while (fill()) { |
| 178 | int start = position + 1; |
| 179 | for (int i = start; i < filled; i++) { |
| 180 | if (!isWhitespace(buffer[i])) { |
| 181 | position = i - 1; |
| 182 | return; |
| 183 | } |
| 184 | } |
| 185 | position = filled - 1; |
| 186 | } |
| 187 | } |
| 188 | |
| 189 | /** |
| 190 | * Test for whitespace, checking the JSON whitespace characters (RFC 8259 §2) directly before |
nothing calls this directly
no test coverage detected