Public Member Functions

org.exolab.castor.util.MimeBase64Encoder Class Reference

List of all members.

Public Member Functions

final void translate (byte[] in)
char[] getCharArray ()

Detailed Description

Byte to text encoder using base 64 encoding. To create a base 64 encoding of a byte stream call translate for every sequence of bytes and getCharArray to mark closure of the byte stream and retrieve the text presentation.

Author:
Based on code from the Mozilla Directory SDK

Member Function Documentation

char [] org.exolab.castor.util.MimeBase64Encoder.getCharArray (  ) 
final void org.exolab.castor.util.MimeBase64Encoder.translate ( byte[]  in  ) 

Given a sequence of input bytes, produces a sequence of output bytes using the base64 encoding. If there are bytes in `out' already, the new bytes are appended, so the caller should do `out.setLength(0)' first if that's desired.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties