Skip to content

No support for reading from stringstream or char buffer? #35

Open
@bramtechs

Description

@bramtechs

Hello,
at first sight, the constructor of mINI::INIFile only accepts path to a file.

Could it be possible to pass in your own stream (like a std::stringstream) or just an std::string with content instead of a file path?
It seems that the library is hardcoded to use std::ifstream and std::ofstream, which are handled internally and can't be changed.

Please let me know if I'm missing something or this is unsupported.
Kind regards.

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