Java: CharBuffer vs. char[]
Is there any reason to prefer a `CharBuffer` to a `char[]` in the following:

    CharBuffer buf = CharBuffer.allocate(DEFAULT_BUFFER_SIZE);
    while( in.read(buf) > 0 ) {
      out.write( buf.flip() );
      buf.clear();
    }

vs.

    char[] buf = new char[DEFAULT_BUFFER_SIZE];
    int n;
    while( (n = in.read(buf)) > 0 ) {
      out.write( buf, 0, n );
    }

(where `in` is a `Reader` and `out` in a `Writer`)?
Java: CharBuffer vs. char[]
===

Is there any reason to prefer a `CharBuffer` to a `char[]` in the following:

    CharBuffer buf = CharBuffer.allocate(DEFAULT_BUFFER_SIZE);
    while( in.read(buf) > 0 ) {
      out.write( buf.flip() );
      buf.clear();
    }

vs.

    char[] buf = new char[DEFAULT_BUFFER_SIZE];
    int n;
    while( (n = in.read(buf)) > 0 ) {
      out.write( buf, 0, n );
    }

(where `in` is a `Reader` and `out` in a `Writer`)?