byte mydata[]; BASE64Decoder base64 = new BASE64Decoder(); mydata = base64.decodeBuffer(bufferString);This will decode the String in bufferString and give you an array of bytes in the array myData. @see CharacterEncoder @see BASE64Decoder
byte mydata[]; BASE64Decoder base64 = new BASE64Decoder(); mydata = base64.decodeBuffer(bufferString);This will decode the String in bufferString and give you an array of bytes in the array myData. On errors, this class throws a CEFormatException with the following detail strings:
"BASE64Decoder: Not enough bytes for an atom."@author Chuck McManis @see CharacterEncoder @see BASE64Decoder
42 * byte mydata[]; 43 * BASE64Decoder base64 = new BASE64Decoder(); 44 45 * mydata = base64.decodeBuffer(bufferString); 46 *47 * This will decode the String in bufferString and give you an array 48 * of bytes in the array myData. 49 50 * On errors, this class throws a CEFormatException with the following detail 51 * strings: 52 *
53 * "BASE64Decoder: Not enough bytes for an atom." 54 *55 56 * @author Chuck McManis 57 * @see CharacterEncoder 58 * @see BASE64Decoder 59
byte mydata[]; Base64Decoder base64 = new Base64Decoder(); mydata = base64.decodeBuffer(bufferString);This will decode the String in bufferString and give you an array of bytes in the array myData. On errors, this class throws a IOException with the following detail strings:
"Base64Decoder: Bad Padding byte (2)." "Base64Decoder: Bad Padding byte (1)."@author Vincent Hardy @author Chuck McManis @version $Id: Base64Decoder.java,v 1.1 2000/11/14 00:19:00 vhardy Exp $ @see CharacterEncoder @see Base64Decoder
byte mydata[]; BASE64Decoder base64 = new BASE64Decoder(); mydata = base64.decodeBuffer(bufferString);This will decode the String in bufferString and give you an array of bytes in the array myData. On errors, this class throws a CEFormatException with the following detail strings:
"BASE64Decoder: Not enough bytes for an atom."@author Chuck McManis @see CharacterEncoder @see BASE64Decoder
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|