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

API for zip files #27

Open
Anaminus opened this issue Aug 14, 2020 · 0 comments
Open

API for zip files #27

Anaminus opened this issue Aug 14, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@Anaminus
Copy link
Owner

rbxmk should be able to read and write zip files. Go has a nice API for it, the issue is how the Lua API should look:

  • Should be implemented as a format: zips can come from any source.
  • The decoded value is non-trivial. How should this be implemented?
  • Probably some sort of "Zip" userdata, with methods.
  • Should be an interface: Most sources will return a Zip that reads from memory, but file can return a Zip that reads directly from the file.
  • This doesn't interact well with the current implementation of formats, which want to read/write an entire []byte all at once.
@Anaminus Anaminus added the enhancement New feature or request label Aug 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant