Skip to content
This repository was archived by the owner on Apr 30, 2019. It is now read-only.
This repository was archived by the owner on Apr 30, 2019. It is now read-only.

Work with memory buffers instead of files #4

@nurupo

Description

@nurupo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions