Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 356 | chris | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 | <!--NewPage--> |
||
| 3 | <HTML> |
||
| 4 | <HEAD> |
||
| 5 | <!-- Generated by javadoc (build 1.6.0_26) on Sun Jan 27 20:37:08 CET 2013 --> |
||
| 6 | <TITLE> |
||
| 7 | Base64Coder (libgdx API) |
||
| 8 | </TITLE> |
||
| 9 | |||
| 10 | <META NAME="date" CONTENT="2013-01-27"> |
||
| 11 | |||
| 12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
||
| 13 | |||
| 14 | <SCRIPT type="text/javascript"> |
||
| 15 | function windowTitle() |
||
| 16 | { |
||
| 17 | if (location.href.indexOf('is-external=true') == -1) { |
||
| 18 | parent.document.title="Base64Coder (libgdx API)"; |
||
| 19 | } |
||
| 20 | } |
||
| 21 | </SCRIPT> |
||
| 22 | <NOSCRIPT> |
||
| 23 | </NOSCRIPT> |
||
| 24 | |||
| 25 | </HEAD> |
||
| 26 | |||
| 27 | <BODY BGCOLOR="white" onload="windowTitle();"> |
||
| 28 | <HR> |
||
| 29 | |||
| 30 | |||
| 31 | <!-- ========= START OF TOP NAVBAR ======= --> |
||
| 32 | <A NAME="navbar_top"><!-- --></A> |
||
| 33 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
||
| 34 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
||
| 35 | <TR> |
||
| 36 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
||
| 37 | <A NAME="navbar_top_firstrow"><!-- --></A> |
||
| 38 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
||
| 39 | <TR ALIGN="center" VALIGN="top"> |
||
| 40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
||
| 41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
| 42 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
| 43 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Base64Coder.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
||
| 44 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
| 45 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
| 46 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
| 47 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
||
| 48 | </TR> |
||
| 49 | </TABLE> |
||
| 50 | </TD> |
||
| 51 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
||
| 52 | |||
| 53 | libgdx API |
||
| 54 | <style> |
||
| 55 | body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt } |
||
| 56 | pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif } |
||
| 57 | h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%; font-weight:bold } |
||
| 58 | .TableHeadingColor { background:#EEEEFF; } |
||
| 59 | a { text-decoration:none } |
||
| 60 | a:hover { text-decoration:underline } |
||
| 61 | a:link, a:visited { color:blue } |
||
| 62 | table { border:0px } |
||
| 63 | .TableRowColor td:first-child { border-left:1px solid black } |
||
| 64 | .TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black } |
||
| 65 | hr { border:0px; border-bottom:1px solid #333366; } |
||
| 66 | </style> |
||
| 67 | </EM> |
||
| 68 | </TD> |
||
| 69 | </TR> |
||
| 70 | |||
| 71 | <TR> |
||
| 72 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
| 73 | <A HREF="../../../../com/badlogic/gdx/utils/AtomicQueue.html" title="class in com.badlogic.gdx.utils"><B>PREV CLASS</B></A> |
||
| 74 | <A HREF="../../../../com/badlogic/gdx/utils/BinaryHeap.html" title="class in com.badlogic.gdx.utils"><B>NEXT CLASS</B></A></FONT></TD> |
||
| 75 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
| 76 | <A HREF="../../../../index.html?com/badlogic/gdx/utils/Base64Coder.html" target="_top"><B>FRAMES</B></A> |
||
| 77 | <A HREF="Base64Coder.html" target="_top"><B>NO FRAMES</B></A> |
||
| 78 | <SCRIPT type="text/javascript"> |
||
| 79 | <!-- |
||
| 80 | if(window==top) { |
||
| 81 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
||
| 82 | } |
||
| 83 | //--> |
||
| 84 | </SCRIPT> |
||
| 85 | <NOSCRIPT> |
||
| 86 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
||
| 87 | </NOSCRIPT> |
||
| 88 | |||
| 89 | |||
| 90 | </FONT></TD> |
||
| 91 | </TR> |
||
| 92 | <TR> |
||
| 93 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
| 94 | SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
| 95 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
| 96 | DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
||
| 97 | </TR> |
||
| 98 | </TABLE> |
||
| 99 | <A NAME="skip-navbar_top"></A> |
||
| 100 | <!-- ========= END OF TOP NAVBAR ========= --> |
||
| 101 | |||
| 102 | <HR> |
||
| 103 | <!-- ======== START OF CLASS DATA ======== --> |
||
| 104 | <H2> |
||
| 105 | <FONT SIZE="-1"> |
||
| 106 | com.badlogic.gdx.utils</FONT> |
||
| 107 | <BR> |
||
| 108 | Class Base64Coder</H2> |
||
| 109 | <PRE> |
||
| 110 | java.lang.Object |
||
| 111 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.badlogic.gdx.utils.Base64Coder</B> |
||
| 112 | </PRE> |
||
| 113 | <HR> |
||
| 114 | <DL> |
||
| 115 | <DT><PRE>public class <B>Base64Coder</B><DT>extends java.lang.Object</DL> |
||
| 116 | </PRE> |
||
| 117 | |||
| 118 | <P> |
||
| 119 | <HR> |
||
| 120 | |||
| 121 | <P> |
||
| 122 | |||
| 123 | <!-- ========== METHOD SUMMARY =========== --> |
||
| 124 | |||
| 125 | <A NAME="method_summary"><!-- --></A> |
||
| 126 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 127 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 128 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
||
| 129 | <B>Method Summary</B></FONT></TH> |
||
| 130 | </TR> |
||
| 131 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 132 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 133 | <CODE>static byte[]</CODE></FONT></TD> |
||
| 134 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/Base64Coder.html#decode(char[])">decode</A></B>(char[] in)</CODE> |
||
| 135 | |||
| 136 | <BR> |
||
| 137 | Decodes a byte array from Base64 format.</TD> |
||
| 138 | </TR> |
||
| 139 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 140 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 141 | <CODE>static byte[]</CODE></FONT></TD> |
||
| 142 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/Base64Coder.html#decode(char[], int, int)">decode</A></B>(char[] in, |
||
| 143 | int iOff, |
||
| 144 | int iLen)</CODE> |
||
| 145 | |||
| 146 | <BR> |
||
| 147 | Decodes a byte array from Base64 format.</TD> |
||
| 148 | </TR> |
||
| 149 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 150 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 151 | <CODE>static byte[]</CODE></FONT></TD> |
||
| 152 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/Base64Coder.html#decode(java.lang.String)">decode</A></B>(java.lang.String s)</CODE> |
||
| 153 | |||
| 154 | <BR> |
||
| 155 | Decodes a byte array from Base64 format.</TD> |
||
| 156 | </TR> |
||
| 157 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 158 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 159 | <CODE>static byte[]</CODE></FONT></TD> |
||
| 160 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/Base64Coder.html#decodeLines(java.lang.String)">decodeLines</A></B>(java.lang.String s)</CODE> |
||
| 161 | |||
| 162 | <BR> |
||
| 163 | Decodes a byte array from Base64 format and ignores line separators, tabs and blanks.</TD> |
||
| 164 | </TR> |
||
| 165 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 166 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 167 | <CODE>static java.lang.String</CODE></FONT></TD> |
||
| 168 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/Base64Coder.html#decodeString(java.lang.String)">decodeString</A></B>(java.lang.String s)</CODE> |
||
| 169 | |||
| 170 | <BR> |
||
| 171 | Decodes a string from Base64 format.</TD> |
||
| 172 | </TR> |
||
| 173 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 174 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 175 | <CODE>static char[]</CODE></FONT></TD> |
||
| 176 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/Base64Coder.html#encode(byte[])">encode</A></B>(byte[] in)</CODE> |
||
| 177 | |||
| 178 | <BR> |
||
| 179 | Encodes a byte array into Base64 format.</TD> |
||
| 180 | </TR> |
||
| 181 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 182 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 183 | <CODE>static char[]</CODE></FONT></TD> |
||
| 184 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/Base64Coder.html#encode(byte[], int)">encode</A></B>(byte[] in, |
||
| 185 | int iLen)</CODE> |
||
| 186 | |||
| 187 | <BR> |
||
| 188 | Encodes a byte array into Base64 format.</TD> |
||
| 189 | </TR> |
||
| 190 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 191 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 192 | <CODE>static char[]</CODE></FONT></TD> |
||
| 193 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/Base64Coder.html#encode(byte[], int, int)">encode</A></B>(byte[] in, |
||
| 194 | int iOff, |
||
| 195 | int iLen)</CODE> |
||
| 196 | |||
| 197 | <BR> |
||
| 198 | Encodes a byte array into Base64 format.</TD> |
||
| 199 | </TR> |
||
| 200 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 201 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 202 | <CODE>static java.lang.String</CODE></FONT></TD> |
||
| 203 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/Base64Coder.html#encodeLines(byte[])">encodeLines</A></B>(byte[] in)</CODE> |
||
| 204 | |||
| 205 | <BR> |
||
| 206 | Encodes a byte array into Base 64 format and breaks the output into lines of 76 characters.</TD> |
||
| 207 | </TR> |
||
| 208 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 209 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 210 | <CODE>static java.lang.String</CODE></FONT></TD> |
||
| 211 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/Base64Coder.html#encodeLines(byte[], int, int, int, java.lang.String)">encodeLines</A></B>(byte[] in, |
||
| 212 | int iOff, |
||
| 213 | int iLen, |
||
| 214 | int lineLen, |
||
| 215 | java.lang.String lineSeparator)</CODE> |
||
| 216 | |||
| 217 | <BR> |
||
| 218 | Encodes a byte array into Base 64 format and breaks the output into lines.</TD> |
||
| 219 | </TR> |
||
| 220 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 221 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 222 | <CODE>static java.lang.String</CODE></FONT></TD> |
||
| 223 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/Base64Coder.html#encodeString(java.lang.String)">encodeString</A></B>(java.lang.String s)</CODE> |
||
| 224 | |||
| 225 | <BR> |
||
| 226 | Encodes a string into Base64 format.</TD> |
||
| 227 | </TR> |
||
| 228 | </TABLE> |
||
| 229 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
||
| 230 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 231 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
| 232 | <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> |
||
| 233 | </TR> |
||
| 234 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 235 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
||
| 236 | </TR> |
||
| 237 | </TABLE> |
||
| 238 | |
||
| 239 | <P> |
||
| 240 | |||
| 241 | <!-- ============ METHOD DETAIL ========== --> |
||
| 242 | |||
| 243 | <A NAME="method_detail"><!-- --></A> |
||
| 244 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 245 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 246 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
||
| 247 | <B>Method Detail</B></FONT></TH> |
||
| 248 | </TR> |
||
| 249 | </TABLE> |
||
| 250 | |||
| 251 | <A NAME="encodeString(java.lang.String)"><!-- --></A><H3> |
||
| 252 | encodeString</H3> |
||
| 253 | <PRE> |
||
| 254 | public static java.lang.String <B>encodeString</B>(java.lang.String s)</PRE> |
||
| 255 | <DL> |
||
| 256 | <DD>Encodes a string into Base64 format. No blanks or line breaks are inserted. |
||
| 257 | <P> |
||
| 258 | <DD><DL> |
||
| 259 | <DT><B>Parameters:</B><DD><CODE>s</CODE> - A String to be encoded. |
||
| 260 | <DT><B>Returns:</B><DD>A String containing the Base64 encoded data.</DL> |
||
| 261 | </DD> |
||
| 262 | </DL> |
||
| 263 | <HR> |
||
| 264 | |||
| 265 | <A NAME="encodeLines(byte[])"><!-- --></A><H3> |
||
| 266 | encodeLines</H3> |
||
| 267 | <PRE> |
||
| 268 | public static java.lang.String <B>encodeLines</B>(byte[] in)</PRE> |
||
| 269 | <DL> |
||
| 270 | <DD>Encodes a byte array into Base 64 format and breaks the output into lines of 76 characters. This method is compatible with |
||
| 271 | <code>sun.misc.BASE64Encoder.encodeBuffer(byte[])</code>. |
||
| 272 | <P> |
||
| 273 | <DD><DL> |
||
| 274 | <DT><B>Parameters:</B><DD><CODE>in</CODE> - An array containing the data bytes to be encoded. |
||
| 275 | <DT><B>Returns:</B><DD>A String containing the Base64 encoded data, broken into lines.</DL> |
||
| 276 | </DD> |
||
| 277 | </DL> |
||
| 278 | <HR> |
||
| 279 | |||
| 280 | <A NAME="encodeLines(byte[], int, int, int, java.lang.String)"><!-- --></A><H3> |
||
| 281 | encodeLines</H3> |
||
| 282 | <PRE> |
||
| 283 | public static java.lang.String <B>encodeLines</B>(byte[] in, |
||
| 284 | int iOff, |
||
| 285 | int iLen, |
||
| 286 | int lineLen, |
||
| 287 | java.lang.String lineSeparator)</PRE> |
||
| 288 | <DL> |
||
| 289 | <DD>Encodes a byte array into Base 64 format and breaks the output into lines. |
||
| 290 | <P> |
||
| 291 | <DD><DL> |
||
| 292 | <DT><B>Parameters:</B><DD><CODE>in</CODE> - An array containing the data bytes to be encoded.<DD><CODE>iOff</CODE> - Offset of the first byte in <code>in</code> to be processed.<DD><CODE>iLen</CODE> - Number of bytes to be processed in <code>in</code>, starting at <code>iOff</code>.<DD><CODE>lineLen</CODE> - Line length for the output data. Should be a multiple of 4.<DD><CODE>lineSeparator</CODE> - The line separator to be used to separate the output lines. |
||
| 293 | <DT><B>Returns:</B><DD>A String containing the Base64 encoded data, broken into lines.</DL> |
||
| 294 | </DD> |
||
| 295 | </DL> |
||
| 296 | <HR> |
||
| 297 | |||
| 298 | <A NAME="encode(byte[])"><!-- --></A><H3> |
||
| 299 | encode</H3> |
||
| 300 | <PRE> |
||
| 301 | public static char[] <B>encode</B>(byte[] in)</PRE> |
||
| 302 | <DL> |
||
| 303 | <DD>Encodes a byte array into Base64 format. No blanks or line breaks are inserted in the output. |
||
| 304 | <P> |
||
| 305 | <DD><DL> |
||
| 306 | <DT><B>Parameters:</B><DD><CODE>in</CODE> - An array containing the data bytes to be encoded. |
||
| 307 | <DT><B>Returns:</B><DD>A character array containing the Base64 encoded data.</DL> |
||
| 308 | </DD> |
||
| 309 | </DL> |
||
| 310 | <HR> |
||
| 311 | |||
| 312 | <A NAME="encode(byte[], int)"><!-- --></A><H3> |
||
| 313 | encode</H3> |
||
| 314 | <PRE> |
||
| 315 | public static char[] <B>encode</B>(byte[] in, |
||
| 316 | int iLen)</PRE> |
||
| 317 | <DL> |
||
| 318 | <DD>Encodes a byte array into Base64 format. No blanks or line breaks are inserted in the output. |
||
| 319 | <P> |
||
| 320 | <DD><DL> |
||
| 321 | <DT><B>Parameters:</B><DD><CODE>in</CODE> - An array containing the data bytes to be encoded.<DD><CODE>iLen</CODE> - Number of bytes to process in <code>in</code>. |
||
| 322 | <DT><B>Returns:</B><DD>A character array containing the Base64 encoded data.</DL> |
||
| 323 | </DD> |
||
| 324 | </DL> |
||
| 325 | <HR> |
||
| 326 | |||
| 327 | <A NAME="encode(byte[], int, int)"><!-- --></A><H3> |
||
| 328 | encode</H3> |
||
| 329 | <PRE> |
||
| 330 | public static char[] <B>encode</B>(byte[] in, |
||
| 331 | int iOff, |
||
| 332 | int iLen)</PRE> |
||
| 333 | <DL> |
||
| 334 | <DD>Encodes a byte array into Base64 format. No blanks or line breaks are inserted in the output. |
||
| 335 | <P> |
||
| 336 | <DD><DL> |
||
| 337 | <DT><B>Parameters:</B><DD><CODE>in</CODE> - An array containing the data bytes to be encoded.<DD><CODE>iOff</CODE> - Offset of the first byte in <code>in</code> to be processed.<DD><CODE>iLen</CODE> - Number of bytes to process in <code>in</code>, starting at <code>iOff</code>. |
||
| 338 | <DT><B>Returns:</B><DD>A character array containing the Base64 encoded data.</DL> |
||
| 339 | </DD> |
||
| 340 | </DL> |
||
| 341 | <HR> |
||
| 342 | |||
| 343 | <A NAME="decodeString(java.lang.String)"><!-- --></A><H3> |
||
| 344 | decodeString</H3> |
||
| 345 | <PRE> |
||
| 346 | public static java.lang.String <B>decodeString</B>(java.lang.String s)</PRE> |
||
| 347 | <DL> |
||
| 348 | <DD>Decodes a string from Base64 format. No blanks or line breaks are allowed within the Base64 encoded input data. |
||
| 349 | <P> |
||
| 350 | <DD><DL> |
||
| 351 | <DT><B>Parameters:</B><DD><CODE>s</CODE> - A Base64 String to be decoded. |
||
| 352 | <DT><B>Returns:</B><DD>A String containing the decoded data. |
||
| 353 | <DT><B>Throws:</B> |
||
| 354 | <DD><CODE>java.lang.IllegalArgumentException</CODE> - If the input is not valid Base64 encoded data.</DL> |
||
| 355 | </DD> |
||
| 356 | </DL> |
||
| 357 | <HR> |
||
| 358 | |||
| 359 | <A NAME="decodeLines(java.lang.String)"><!-- --></A><H3> |
||
| 360 | decodeLines</H3> |
||
| 361 | <PRE> |
||
| 362 | public static byte[] <B>decodeLines</B>(java.lang.String s)</PRE> |
||
| 363 | <DL> |
||
| 364 | <DD>Decodes a byte array from Base64 format and ignores line separators, tabs and blanks. CR, LF, Tab and Space characters are |
||
| 365 | ignored in the input data. This method is compatible with <code>sun.misc.BASE64Decoder.decodeBuffer(String)</code>. |
||
| 366 | <P> |
||
| 367 | <DD><DL> |
||
| 368 | <DT><B>Parameters:</B><DD><CODE>s</CODE> - A Base64 String to be decoded. |
||
| 369 | <DT><B>Returns:</B><DD>An array containing the decoded data bytes. |
||
| 370 | <DT><B>Throws:</B> |
||
| 371 | <DD><CODE>java.lang.IllegalArgumentException</CODE> - If the input is not valid Base64 encoded data.</DL> |
||
| 372 | </DD> |
||
| 373 | </DL> |
||
| 374 | <HR> |
||
| 375 | |||
| 376 | <A NAME="decode(java.lang.String)"><!-- --></A><H3> |
||
| 377 | decode</H3> |
||
| 378 | <PRE> |
||
| 379 | public static byte[] <B>decode</B>(java.lang.String s)</PRE> |
||
| 380 | <DL> |
||
| 381 | <DD>Decodes a byte array from Base64 format. No blanks or line breaks are allowed within the Base64 encoded input data. |
||
| 382 | <P> |
||
| 383 | <DD><DL> |
||
| 384 | <DT><B>Parameters:</B><DD><CODE>s</CODE> - A Base64 String to be decoded. |
||
| 385 | <DT><B>Returns:</B><DD>An array containing the decoded data bytes. |
||
| 386 | <DT><B>Throws:</B> |
||
| 387 | <DD><CODE>java.lang.IllegalArgumentException</CODE> - If the input is not valid Base64 encoded data.</DL> |
||
| 388 | </DD> |
||
| 389 | </DL> |
||
| 390 | <HR> |
||
| 391 | |||
| 392 | <A NAME="decode(char[])"><!-- --></A><H3> |
||
| 393 | decode</H3> |
||
| 394 | <PRE> |
||
| 395 | public static byte[] <B>decode</B>(char[] in)</PRE> |
||
| 396 | <DL> |
||
| 397 | <DD>Decodes a byte array from Base64 format. No blanks or line breaks are allowed within the Base64 encoded input data. |
||
| 398 | <P> |
||
| 399 | <DD><DL> |
||
| 400 | <DT><B>Parameters:</B><DD><CODE>in</CODE> - A character array containing the Base64 encoded data. |
||
| 401 | <DT><B>Returns:</B><DD>An array containing the decoded data bytes. |
||
| 402 | <DT><B>Throws:</B> |
||
| 403 | <DD><CODE>java.lang.IllegalArgumentException</CODE> - If the input is not valid Base64 encoded data.</DL> |
||
| 404 | </DD> |
||
| 405 | </DL> |
||
| 406 | <HR> |
||
| 407 | |||
| 408 | <A NAME="decode(char[], int, int)"><!-- --></A><H3> |
||
| 409 | decode</H3> |
||
| 410 | <PRE> |
||
| 411 | public static byte[] <B>decode</B>(char[] in, |
||
| 412 | int iOff, |
||
| 413 | int iLen)</PRE> |
||
| 414 | <DL> |
||
| 415 | <DD>Decodes a byte array from Base64 format. No blanks or line breaks are allowed within the Base64 encoded input data. |
||
| 416 | <P> |
||
| 417 | <DD><DL> |
||
| 418 | <DT><B>Parameters:</B><DD><CODE>in</CODE> - A character array containing the Base64 encoded data.<DD><CODE>iOff</CODE> - Offset of the first character in <code>in</code> to be processed.<DD><CODE>iLen</CODE> - Number of characters to process in <code>in</code>, starting at <code>iOff</code>. |
||
| 419 | <DT><B>Returns:</B><DD>An array containing the decoded data bytes. |
||
| 420 | <DT><B>Throws:</B> |
||
| 421 | <DD><CODE>java.lang.IllegalArgumentException</CODE> - If the input is not valid Base64 encoded data.</DL> |
||
| 422 | </DD> |
||
| 423 | </DL> |
||
| 424 | <!-- ========= END OF CLASS DATA ========= --> |
||
| 425 | <HR> |
||
| 426 | |||
| 427 | |||
| 428 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
||
| 429 | <A NAME="navbar_bottom"><!-- --></A> |
||
| 430 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
||
| 431 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
||
| 432 | <TR> |
||
| 433 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
||
| 434 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
||
| 435 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
||
| 436 | <TR ALIGN="center" VALIGN="top"> |
||
| 437 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
||
| 438 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
| 439 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
| 440 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Base64Coder.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
||
| 441 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
| 442 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
| 443 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
| 444 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
||
| 445 | </TR> |
||
| 446 | </TABLE> |
||
| 447 | </TD> |
||
| 448 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
||
| 449 | libgdx API</EM> |
||
| 450 | </TD> |
||
| 451 | </TR> |
||
| 452 | |||
| 453 | <TR> |
||
| 454 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
| 455 | <A HREF="../../../../com/badlogic/gdx/utils/AtomicQueue.html" title="class in com.badlogic.gdx.utils"><B>PREV CLASS</B></A> |
||
| 456 | <A HREF="../../../../com/badlogic/gdx/utils/BinaryHeap.html" title="class in com.badlogic.gdx.utils"><B>NEXT CLASS</B></A></FONT></TD> |
||
| 457 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
| 458 | <A HREF="../../../../index.html?com/badlogic/gdx/utils/Base64Coder.html" target="_top"><B>FRAMES</B></A> |
||
| 459 | <A HREF="Base64Coder.html" target="_top"><B>NO FRAMES</B></A> |
||
| 460 | <SCRIPT type="text/javascript"> |
||
| 461 | <!-- |
||
| 462 | if(window==top) { |
||
| 463 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
||
| 464 | } |
||
| 465 | //--> |
||
| 466 | </SCRIPT> |
||
| 467 | <NOSCRIPT> |
||
| 468 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
||
| 469 | </NOSCRIPT> |
||
| 470 | |||
| 471 | |||
| 472 | </FONT></TD> |
||
| 473 | </TR> |
||
| 474 | <TR> |
||
| 475 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
| 476 | SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
| 477 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
| 478 | DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
||
| 479 | </TR> |
||
| 480 | </TABLE> |
||
| 481 | <A NAME="skip-navbar_bottom"></A> |
||
| 482 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
||
| 483 | |||
| 484 | <HR> |
||
| 485 | |||
| 486 | <div style="font-size:9pt"><i> |
||
| 487 | Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) |
||
| 488 | </i></div> |
||
| 489 | |||
| 490 | </BODY> |
||
| 491 | </HTML> |