} else if (type == Long.TYPE) {
for (int i = 0; i < delegate.getSize(); i++)
dos.writeLong(Array.getLong(data, i));
} else if (type == Float.TYPE) {
for (int i = 0; i < delegate.getSize(); i++)
dos.writeFloat(Array.getFloat(data, i));
} else if (type == Double.TYPE) {
for (int i = 0; i < delegate.getSize(); i++)
dos.writeDouble(Array.getDouble(data, i));
}
}