ProtoDef-io / ProtoDef-io/node-protodef
little endian bitfield
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 35
- Forks
- 25
- Avg merge
- 4d 3m
- Merged PRs (30d)
- 2
Description
our current implementation of bitfield is big endian
some protocols such as diablo2 are fully little endian, even their bitfields
2 ways to do that :
- implement it ourselves
- use https://github.com/inolen/bit-buffer
I'm not too confident on being able to do 1 easily.
Might try to do 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the current bitfield implementation and its tests, then review the little-endian behavior required by protocols such as Diablo 2. Compare the needed behavior with the linked bit-buffer option before choosing an approach. Done means little-endian bitfields are supported without breaking existing big-endian behavior, with coverage for both cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100