You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 30, 2019. It is now read-only.
Toxcore's save/load functions don't deal with the file system, they just take a buffer and return a buffer. That provides some freedom because users can decide how to save the buffer: either in a file using a specific format they want (base64 encoding and saving as a part of a xml file), in a database, or somehow else.
This also will make it easier to switch from using unencrypted save/load functions to using encrypted ones, since it would require less code change.
Toxcore's save/load functions don't deal with the file system, they just take a buffer and return a buffer. That provides some freedom because users can decide how to save the buffer: either in a file using a specific format they want (base64 encoding and saving as a part of a xml file), in a database, or somehow else.
This also will make it easier to switch from using unencrypted save/load functions to using encrypted ones, since it would require less code change.