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

To bytes #17

Merged
merged 4 commits into from
Feb 17, 2020
Merged

To bytes #17

merged 4 commits into from
Feb 17, 2020

Conversation

bltavares
Copy link
Member

@bltavares bltavares commented Feb 7, 2020

Even tho #2 was closed
with the iter implementation, it was not enought to use with
bitfield-rle crate.

The crate takes a AsRef<[u8]> to encode, and the iterator returns a
set of bool. This code uses the Bitfield.prototype.toBuffer logic to
create the to_bytes method.

Choose one: a 🙋 feature

Checklist

  • tests pass
  • tests and/or benchmarks are included
  • documentation is changed or added

Context

Built on top of #16

Semver Changes

minor

This commit bumps the code to use Rust 2018.
Even tho datrs#2 was closed
with the iter implementation, it was not enought to use with
`bitfield-rle` crate.

The crate takes a `AsRef<[u8]>` to encode, and the iterator returns a
set of `bool`. This code uses the `Bitfield.prototype.toBuffer` logic to
create the `to_bytes` method.
@yoshuawuyts yoshuawuyts merged commit f4c97ee into datrs:master Feb 17, 2020
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