Logo Search packages:      
Sourcecode: pcalendar version File versions  Download package

static byte [] net::sf::linuxorg::pcal::common::Base64::encode3to4 ( byte[]  b4,
byte[]  threeBytes,
int  numSigBytes,
int  options 
) [inline, static, private]

Encodes up to the first three bytes of array threeBytes and returns a four-byte array in Base64 notation. The actual number of significant bytes in your array is given by numSigBytes. The array threeBytes needs only be as big as numSigBytes. Code can reuse a byte array by passing a four-byte array as b4.

b4A reusable byte array to reduce array instantiation
threeBytesthe array to convert
numSigBytesthe number of significant bytes in your array
four byte array in Base64 notation.

Definition at line 439 of file Base64.java.

Referenced by encode(), encodeBytesToBytes(), net::sf::linuxorg::pcal::common::Base64::OutputStream::flushBase64(), net::sf::linuxorg::pcal::common::Base64::InputStream::read(), and net::sf::linuxorg::pcal::common::Base64::OutputStream::write().

        encode3to4( threeBytes, 0, numSigBytes, b4, 0, options );
        return b4;
    }   // end encode3to4

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index