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

Version 0.0.7 #16

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

AndreasAntener
Copy link

This fixes a number of issues:

Adding a new feature:

  • Allow packing and unpacking of data with less length than the format string specifies (optional argument)

This has been in use for a while now and seems to be very stable. Would be great to get the npm package updated.

Open questions:

  • Maybe the array field treatment has to be optional?

…e format string. This unfortunately hides the error but is necessary if we want to be "flexible" with the data we unpack. If the format string is longer than the supplied data it will return as much unpacked fields as it can before it runs out of data.
…packing formats with less data than required. If this is needed a 3rd argument has to be supplied to Unpack(). Added tests to validate that functionality for Unpack and Pack.

Other changes
- updated dependencies
- added eslint with standard config only as placeholder for now
@chrismiller7
Copy link

Is there a timeline when this pull request is going to be merged?

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.

2 participants