Skip to content

Data whose size is not a multiple of 8 bits gets lost when decoded. #1

@issuefiler

Description

@issuefiler

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

require("base32-decode")("E", "Crockford").byteLength
// 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions