Clojure-Contrib

clojure.contrib.base64 lacking decode

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • 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.

Activity

Hide
Assembla Importer added a comment -

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

Branch: master

Show
Assembla Importer added a comment - stuart.sierra said: (In revision:5263e4bd9ca8634b50755c5150ebef26e0d191f1) Base64 decoding from Teemu Antti-Poika; refs #84 Branch: master
Hide
Assembla Importer added a comment -

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

Show
Assembla Importer added a comment - anttipoi said: Note: I've modified the patch to support multi-line encoded data.
Hide
Assembla Importer added a comment -

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.

Show
Assembla Importer added a comment - 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.
Hide
Assembla Importer added a comment -

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

Show
Assembla Importer added a comment - anttipoi said: [file:c68LHyxEOr35_MeJe5cbCb]: Patch adding decode + tests

People

  • Assignee:
    anttipoi
    Reporter:
    Anonymous
Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: