Send the buffer to the sink. Called by append() when the limit is reached. You can also call it explicitly to force the data to be written. @throws IOException Writing overflow data to the output channel failed
()
| 537 | * @throws IOException Writing overflow data to the output channel failed |
| 538 | */ |
| 539 | public void flushBuffer() throws IOException { |
| 540 | // assert out!=null |
| 541 | if (out == null) { |
| 542 | throw new BufferOverflowException( |
| 543 | sm.getString("chunk.overflow", Integer.valueOf(getLimit()), Integer.valueOf(buff.length))); |
| 544 | } |
| 545 | out.realWriteBytes(buff, start, end - start); |
| 546 | end = start; |
| 547 | } |
| 548 | |
| 549 | |
| 550 | /** |
no test coverage detected