(int c)
| 62 | } |
| 63 | |
| 64 | @Override |
| 65 | public void write(int c) throws IOException { |
| 66 | if (writer != null) { |
| 67 | writer.write(c); |
| 68 | } else { |
| 69 | ensureOpen(); |
| 70 | if (nextChar >= bufferSize) { |
| 71 | reAllocBuff(1); |
| 72 | } |
| 73 | cb[nextChar++] = (char) c; |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | @Override |
| 78 | public void write(char[] cbuf, int off, int len) throws IOException { |
no test coverage detected