Data whose size is not a multiple of 8 bits gets lost when decoded.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 9
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
> If the bit-length of the number to be encoded is not a multiple of 5 bits, then zero-extend the number to make its bit-length a multiple of 5.
>
> ⸺ https://www.crockford.com/base32.html
```javascript
require("base32-decode")("E", "Crockford").byteLength
// 0
```
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 reproducing the supplied require("base32-decode")("E", "Crockford") example and trace the package's decoding entry point. Check the bit-length padding behavior described in the Crockford reference; done means inputs whose size is not a multiple of 8 bits retain their data instead of producing an empty result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 42/100