2.) I am reading in Vertex Data from a file. It holds only floats, e.g.:
-38.3887 97.7612 -10.5231 -38.3572 98.8543 -10.5064 ...
There is no metadata in the file giving information about the count of values. 3.) When reading a file line by line it would be nice to have the count of Lines of the file ( numLines )

If each line takes at least 25 bytes, you can divide file size by 25 - this will be an estimation of number of lines.

Reply via email to