proxy.golang.org : github.com/reiver/go-bravo16
Package bravo16 provides a more (human) safe base-16 binary-to-text encoding, and decoding; brave16 is an alternative to hexadecimal. The safety comes from carefully choosing the symbols use for the base-16 symbols. Rather than using hexadecimal's symbols: ... bravo16 uses the symbols: Which means that the symbols for ‘3’, ‘6’, ‘7’, ‘8’, and ‘9’ differ between bravo16 and hexadecimal. And also that the symbols for ‘A’, ‘C’, and ‘E’ are always in uppercase. And the symbols for ‘b’, ‘d’, and ‘e’ are always in lowercase. To make it so that bravo16 literals can be distinguished from hexadecimal literals, decimal literlals, and octal liberals, bravo16 literals begin with the following prefix: I.e., bravo16 literals begin with a zero followed by a lowercase ‘r’. Here are some examples of bravo16 literals: Here is how you encode binary data as bravo16: Here is how you encode binary data as a bravo16 literal: Here is how you decode bravo16 data: Here is how you decode a bravo16 literal:
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/reiver/go-bravo16
License: MIT
Latest release: over 6 years ago
First release: over 6 years ago
Namespace: github.com/reiver
Last synced: 1 day ago