docs: public static <E> void marshallArray(E[] array, ObjectOutput out) throws IOException {
        final int size = array == null ? NULL_VALUE : array.length;
        marshallSize(out, size);
        if (size <= 0) {
           return;
        }
        for (int i = 0; i < size; ++i) {
           out.writeObject(array[i]);
        }
     }