public static void writeCharArray(char[] array, DataOutput out) throws IOException {
    InternalDataSerializer.writeCharArray(array, out);
  }
Writes an array of <code>char</code>s to a <code>DataOutput</code>.

@param array the array of <code>char</code>s to write
@param out the {@link DataInput} to write to

@throws IOException A problem occurs while writing to <code>out</code>

@see #readCharArray
@since GemFire 5.7
geode-core/src/main/java/org/apache/geode/DataSerializer.java