@Override
    public <T extends FieldValue> void write(FieldBase field, Array<T> array) {
        buf.putInt1_2_4Bytes(array.size());

        List<T> lst = array.getValues();
        for (FieldValue value : lst) {
            value.serialize(this);
        }

    }
Write out the value of array field

@param field - field description (name and data type)
@param array - field value
document/src/main/java/com/yahoo/document/serialization/VespaDocumentSerializer6.java