I have several input formats mostly restricted to geotiff and some proprietary binary formats. I import them into my program and then need to export them into various other data formats (also binary) but as two dimensional arrays.
Currently I hold the data after importing them into my program as a byte array. I also need to perform search and replace on element of this data. Is the byte array the best data structure for this sort of application ?
Summary - all of my input formats are binary(geotiff and proprietary) and all of my export formats are binary(two dimensional arrays). In between import and export I need to do some search and replace. Is byte array the best data structure for this sort of application ?