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

Fix bug in writeBuffer call and expose getDescriptorById #311

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Meigyoku-Thmn
Copy link

@Meigyoku-Thmn Meigyoku-Thmn commented Sep 15, 2020

There is a this.writeBuffer call that use the wrong argument "string.length", the correct one is "buffer.length".
Also I think exposing the getDescriptorById method is a good idea. That way, anyone use this library has the opportunity to access the file's metadata and content directly, or get/set the file's position.

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

Successfully merging this pull request may close these issues.

None yet

2 participants