commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julius Davies (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CODEC-69) Streaming Base64
Date Wed, 18 Jun 2008 04:50:45 GMT

     [ https://issues.apache.org/jira/browse/CODEC-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Julius Davies updated CODEC-69:
-------------------------------

    Attachment: streaming-base64.patch

Patch introduces Base64InputStream and Base64OutputStream.  They wrap any pre-existing InputStream
or OutputStream, like so:


InputStream in = new FileInputStream("/path/to/file.base64");
in = new Base64InputStream(in, false);  // false == DECODE


The guts of Base64 have been ripped out and rearranged to better suit this way of working,
but all the JUnit tests still pass!


Thanks to "commons" project in ws.apache.org for much of this code.
http://svn.apache.org/repos/asf/webservices/commons/trunk/modules/util/ 


> Streaming Base64
> ----------------
>
>                 Key: CODEC-69
>                 URL: https://issues.apache.org/jira/browse/CODEC-69
>             Project: Commons Codec
>          Issue Type: Improvement
>            Reporter: Julius Davies
>            Priority: Minor
>             Fix For: 1.x
>
>         Attachments: streaming-base64.patch
>
>
> Would be nice to have Base64InputStream and Base64OutputStream, with both supporting
ENCODE or DECODE modes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message