<li><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</a></li>
extends <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></pre>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxBase64.html#decode(java.lang.String)">decode</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> str)</code>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxBase64.html#decodeFast(java.lang.String)">decodeFast</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> s)</code>
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<h3>Methods inherited from class java.lang.<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></h3>
<code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()"title="class or interface in java.lang">clone</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)"title="class or interface in java.lang">equals</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()"title="class or interface in java.lang">finalize</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()"title="class or interface in java.lang">getClass</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()"title="class or interface in java.lang">hashCode</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()"title="class or interface in java.lang">notify</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()"title="class or interface in java.lang">notifyAll</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()"title="class or interface in java.lang">toString</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()"title="class or interface in java.lang">wait</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)"title="class or interface in java.lang">wait</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)"title="class or interface in java.lang">wait</a></code></li>
<divclass="block">Encodes a raw byte array into a BASE64 <code>char[]</code> representation i accordance with RFC 2045.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>sArr</code> - The bytes to convert. If <code>null</code> or length 0 an empty array will be returned.</dd><dd><code>lineSep</code> - Optional "\r\n" after 76 characters, unless end of file.<br>
<divclass="block">Decodes a BASE64 encoded char array. All illegal characters will be ignored and can handle both arrays with
and without line separators.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>sArr</code> - The source array. <code>null</code> or length 0 will return an empty array.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The decoded array of bytes. May be of length 0. Will be <code>null</code> if the legal characters
(including '=') isn't divideable by 4. (I.e. definitely corrupted).</dd></dl>
+ The array CAN have illegal characters at the beginning and end, those will be dealt with appropriately.<br></div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>sArr</code> - The source array. Length 0 will return an empty array. <code>null</code> will throw an exception.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The decoded array of bytes. May be of length 0.</dd></dl>
<divclass="block">Encodes a raw byte array into a BASE64 <code>byte[]</code> representation i accordance with RFC 2045.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>sArr</code> - The bytes to convert. If <code>null</code> or length 0 an empty array will be returned.</dd><dd><code>lineSep</code> - Optional "\r\n" after 76 characters, unless end of file.<br>
<divclass="block">Decodes a BASE64 encoded byte array. All illegal characters will be ignored and can handle both arrays with
and without line separators.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>sArr</code> - The source array. Length 0 will return an empty array. <code>null</code> will throw an exception.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The decoded array of bytes. May be of length 0. Will be <code>null</code> if the legal characters
(including '=') isn't divideable by 4. (I.e. definitely corrupted).</dd></dl>
+ The array CAN have illegal characters at the beginning and end, those will be dealt with appropriately.<br></div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>sArr</code> - The source array. Length 0 will return an empty array. <code>null</code> will throw an exception.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The decoded array of bytes. May be of length 0.</dd></dl>
<pre>public static final <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> encodeToString(byte[] sArr,
<divclass="block">Encodes a raw byte array into a BASE64 <code>String</code> representation i accordance with RFC 2045.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>sArr</code> - The bytes to convert. If <code>null</code> or length 0 an empty array will be returned.</dd><dd><code>lineSep</code> - Optional "\r\n" after 76 characters, unless end of file.<br>
<pre>public static final byte[] decode(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> str)</pre>
will create a temporary array though. This version will use <code>str.charAt(i)</code> to iterate the string.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>str</code> - The source string. <code>null</code> or length 0 will return an empty array.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The decoded array of bytes. May be of length 0. Will be <code>null</code> if the legal characters
(including '=') isn't divideable by 4. (I.e. definitely corrupted).</dd></dl>
<pre>public static final byte[] decodeFast(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> s)</pre>
+ The array CAN have illegal characters at the beginning and end, those will be dealt with appropriately.<br></div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>s</code> - The source string. Length 0 will return an empty array. <code>null</code> will throw an exception.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The decoded array of bytes. May be of length 0.</dd></dl>