Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a simple API #3

Open
nemequ opened this issue Feb 9, 2015 · 3 comments
Open

Provide a simple API #3

nemequ opened this issue Feb 9, 2015 · 3 comments

Comments

@nemequ
Copy link

nemequ commented Feb 9, 2015

Assuming MCM.cpp is an example of how to use mcm, it is way too complicated for people to bother integrating it into their software.

@mathieuchartier
Copy link
Owner

MCM.cpp is fairly complicated, but the main thing you need to do is pretty simple. You just need an input and output stream and pass those as args to CM::compress. Either way, I'll try to add a simple example some time in the future.

@nemequ
Copy link
Author

nemequ commented Feb 11, 2015

That would be very helpful, thanks.

@nemequ
Copy link
Author

nemequ commented Mar 1, 2015

I don't suppose you would be interested in moving ArchiveHeader out of MCM.cpp? That would definitely help make things simpler…

Or do you want people to use the raw data instead of the archive format?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants