Skip to content

Update all examples: Z is character 25, not 26 #1

@end2endzone

Description

@end2endzone

The library examples show the following comment at the beginning:

/**
* Encoding "text" as 5 bits characters using the following:
*   A -> 0
*   Z -> 26
*     -> 27
*   . -> 28
*   0 -> 29
*   1 -> 30
*   2 -> 31
*/

The chacacter Z should be encoded as 25, not 26. Other characters should also be updated to follow the index sequence.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions