<< Back to previous view

[CONTRIB-84] clojure.contrib.base64 lacking decode Created: 12/May/10  Updated: 17/Sep/10  Resolved: 17/Sep/10

Status: Closed
Project: Clojure-Contrib
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect
Reporter: Anonymous Assignee: anttipoi
Resolution: Completed Votes: 0
Labels: None


 Description   

Namespace clojure.contrib.base64 contains a Base64 encode function but is (so far) missing decode.

I know commons-codec contains a quality implementation of both functions, but adding yet another jar in your build just for base64 decode purposes is an unnecessary complication. For symmetry's sake, decode should be added.

I will add a patch soon.



 Comments   
Comment by Assembla Importer [ 17/Sep/10 6:16 PM ]

Converted from http://www.assembla.com/spaces/clojure/tickets/84
Attachments:
base64-decode.patch - https://www.assembla.com/spaces/clojure/documents/c68LHyxEOr35_MeJe5cbCb/download/c68LHyxEOr35_MeJe5cbCb

Comment by Assembla Importer [ 17/Sep/10 6:16 PM ]

anttipoi said: [file:c68LHyxEOr35_MeJe5cbCb]: Patch adding decode + tests

Comment by Assembla Importer [ 17/Sep/10 6:16 PM ]

anttipoi said: BTW. Sorry about not raising the topic on the clojure-dev group first. I just lost my patience waiting to be let in.

Comment by Assembla Importer [ 17/Sep/10 6:16 PM ]

anttipoi said: Note: I've modified the patch to support multi-line encoded data.

Comment by Assembla Importer [ 17/Sep/10 6:16 PM ]

stuart.sierra said: (In revision:5263e4bd9ca8634b50755c5150ebef26e0d191f1) Base64 decoding from Teemu Antti-Poika; refs #84

Branch: master

Generated at Mon Sep 22 09:12:56 CDT 2014 using JIRA 4.4#649-r158309.