/** * Creates a new char array writer, with a buffer capacity of * the specified size, in bytes. * * @param size the initial size. * @throws IllegalArgumentException if size is negative. */ public FastCharArrayWriter(int size) { buffer = new FastCharBuffer(size); }