Skip to content

C++ API without IO? #22

@rlorigro

Description

@rlorigro

Hi,

Thanks for the lovely software. I am considering using this to operate in-memory as a library for one of my C++ projects. However, looking at the API, and the CAGCCompressor header, it appears that it is configured to read from a file, and generate an archive on the disk. Is there currently a simple way to skip the IO entirely and construct a library from strings, which I can then keep in memory until I decompress selectively using GetCtgSeq(const std::string& sample, const std::string& name, int start, int end, std::string& buffer) const ? If not, would you consider supporting this type of API? I have many near-identical sequences that are never stored on the disk, which is why i would like to avoid that part.

Thanks,

Ryan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions