aboutsummaryrefslogtreecommitdiff
path: root/toys/other/base64.c
AgeCommit message (Collapse)Author
2018-11-17Convert more GLOBALS argument vars to the new single letter code style.Rob Landley
2016-03-15Add base64.test, and Izabera pointed out that -w0 should disable wrapping.Rob Landley
2016-03-02Fix base64 so == wraps properly.Rob Landley
2014-12-13Add base64.Rob Landley
The tizen guys wanted this. Yeah, I know there's base64 code in uuencode/uudecode, but that this has -i, input lines aren't of fixed length, encode/decode are in same file, there's no prefix/suffix code, it always writes to stdout... Eliminating the code duplication wouldn't be worth the if/else I'd have to add, so I just did a new one. Factored out the base64 table init into lib.c though: that was worth sharing.