Artifact Content

Artifact 26ad777a635e2b5414d9500d241a7f6296e37a31:

Wiki page [(data base32)] by murphy 2016-07-15 11:07:02.
D 2016-07-15T11:07:02.644
L (data\sbase32)
U murphy
W 797
<h1>Base32 Encoding</h1>


<code>(import (data base32))</code>

Encoding and decoding of binary data in [|Base32] format.


<h3>procedure: <code>(base32-encode <i>bytevector</i>)</code></h3>
<h3>procedure: <code>(base32-encode <i>bytevector</i> <i>padding?</i>)</code></h3>

Encodes the given bytevector into a string. Without options, the result has no padding. If the padding option is given and true, the output may be terminated by "=" characters unless the input length is a multiple of eight.

<h3>procedure: <code>(base32-encode <i>string</i>)</code></h3>

Decodes the given string into a bytevector. Ignores any number of padding characters at the end of the input.

Z 15b75c0350ebe63e9fcb488ebdde8cb1