public static int asFlatProperties(FlatBufferBuilder bufferBuilder, Collection<FunctionProperties> properties) {
        int props[] = new int[properties.size()];

        int cnt = 0;
        for (val p: properties)
            props[cnt++] = p.asFlatProperties(bufferBuilder);

        return FlatNode.createPropertiesVector(bufferBuilder, props);
    }
public static int asFlatProperties ( FlatBufferBuilder bufferBuilder , Collection < FunctionProperties > properties ) { int props [ ] = new int [ properties . size ( ) ] ; int cnt = 0 ; for ( val p : properties ) props [ cnt ++ ] = p . asFlatProperties ( bufferBuilder ) ; return FlatNode . createPropertiesVector ( bufferBuilder , props ) ; }
This method converts multiple FunctionProperties to FlatBuffers representation

@param bufferBuilder
@param properties
@return