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

Refactor this abstractions to allow for native (via ffi) or pure dart implementations. #12

Closed
sethloco opened this issue Oct 10, 2020 · 0 comments
Assignees
Labels
scheduled item Accepted required work task

Comments

@sethloco
Copy link
Collaborator

es_compression was always designed with the intent of using ffi for algorithm implementations.
However, it may be good to keep the door open for algorithm implementations in pure dart so it can be used in other contexts.

This means a slight refactor to CodecBuffer

  • Its _bytes is a Pointer. Not a big change to parameterize this

The current lz4 decoder/encoder/options refer to the lz4 c library constants and dispatcher.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scheduled item Accepted required work task
Projects
None yet
Development

No branches or pull requests

1 participant