All predicatesShow -- Base32 encoding and decoding

Prolog-based base32 encoding using DCG rules. Encoding according to rfc4648.

For example:

1 ?- base32('Hello World', X).


2 ?- base32(H, 'JBSWY3DPEBLW64TMMQ======').

H = 'Hello World'
- Jan Wielemaker
See also
Source base32(+Plain, -Encoded) is det
base32(-Plain, +Encoded) is det
Translates between plaintext and base32 encoded atom or string. See also base32//1.
Source base32(+PlainText)// is det
base32(-PlainText)// is det
Encode/decode list of character codes using base32. See also base32/2.