Re: [Registry] change
Brought to you by:
aviram
|
From: Markus R. <mai...@gm...> - 2004-10-19 16:38:01
|
Am Dienstag, 19. Oktober 2004 16:56 schrieb Jens Andersen: > An example of use could be having an internal structure containing int's > and similar non-pointer values. With binary data you could save this data > to disk and hence make it harder to edit by hand (some data might not be > suitable for manually editing..Only other alternative would be encrypting > the data...). Not all values that you wish to save somewhere is meant for > human eyes... Yes think about password managers, game states (change that would mean cheating ;-) and so on. I think in fact there is a reason for keySetBinary, but maybe you should add an info in the docu not to use it. "UNIX sysadmins don't like to deal with binary, sand box data. Consider using a string key instead." Does not sound good, better sthg like: the user may want to change the Konfiguration by hand, so my advice is... Perfect would be to give an example how to store ints (sprintf for writing and atoi to get it back)! But why not integrating it? It just depends on libc and i dont think that these 4 calls (i2s s2i d2s s2d) will increse the size of the library? mfg Markus |