Base64 Encoding/Decoding

Here you can share completed projects or parts of projects that may be useful to others. You may post files relevant to ZBasic - source code, schematics, etc.
Post Reply
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Base64 Encoding/Decoding

Post by dkinzer »

These routines can be used to encode a series of bytes using the Base64 alphabet and then decode back to the original data.

Note: the test code in this module uses a style of Program Memory data item initialization that was added after the release of v0.42.0 of the compiler. Until you have a version that supports quoted string data initialization you'll have to modify the test data.
Attachments
Base64.bas
Base64 encode/decode
(9.71 KiB) Downloaded 3737 times
- Don Kinzer
Post Reply