public static void writeObjectArray(Object[] array, DataOutput out) throws IOException {
    InternalDataSerializer.writeObjectArray(array, out, false);
  }
Writes an array of <code>Object</code>s to a <code>DataOutput</code>. This method will
serialize a <code>null</code> array and not throw a <code>NullPointerException</code>.

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

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

@see #readObjectArray
@see #writeObject(Object, DataOutput)
geode-core/src/main/java/org/apache/geode/DataSerializer.java