I am making a plugin for an aplication I use. I am using a map to store vaules in (its a String,Int map), I can get it working fine apart from my code to save the map, I can loop through with iterators fine, and can write to a file in the form
String
Int
String
Int
String
Int
where the string is the map key and int is the map data. I then ran into problems reading the data back in, Using streams it was working fine aslong as the string hand no space.The stream's include also provided one more problem, it increased the output dll filesize from 50Kb to 200kb, and I am trying to keep the dll as small as posible, I know 200k seems small these days but compared to other plugins it is huge. I can get it to output with Write file but readfile needs to know how much data I am reading in, but I have know idea how much the will be in the file.
String
Int
String
Int
String
Int
where the string is the map key and int is the map data. I then ran into problems reading the data back in, Using streams it was working fine aslong as the string hand no space.The stream's include also provided one more problem, it increased the output dll filesize from 50Kb to 200kb, and I am trying to keep the dll as small as posible, I know 200k seems small these days but compared to other plugins it is huge. I can get it to output with Write file but readfile needs to know how much data I am reading in, but I have know idea how much the will be in the file.