Fstream does not create file if it is not there unless it is opened in an append mode. Append mode however forbids overwriting the original data, and I want to be able to seekp and seekg anywhere inside.
Unlike question asked here: std::fstream doesn't create file I have a requirements for it not be in either append or truncate mods and still be able to to seekg and seekp anywhere in thise file.