- Home /
Question by
smuseus · Dec 11, 2015 at 11:54 AM ·
importdatareadwrite data
Raw data-format for read and write.
I'm looking for solutions to import and write raw data. I'm working with a various types of data for scientific visualization. The data is simple tables of values, no objects or nested data structures.
At the moment I wrap this into 32bit textures, yet even 32bit RGBA clips my data value to range between 0.0 and 1.0, and in general, it feels more like a hack than a proper solution.
Due to size and speed I'd like to avoid JSON or .csv files.
Comment
To read binary data you can use the WWW class (www.bytes) or just use something like File.ReadAllBytes/File.WriteAllBytes (System.IO) and do what ever you need to do with the values.