/**@class android.util.Base64
@extends java.lang.Object

 Utilities for encoding and decoding the Base64 representation of
 binary data.  See RFCs <a
 href="http://www.ietf.org/rfc/rfc2045.txt">2045</a> and <a
 href="http://www.ietf.org/rfc/rfc3548.txt">3548</a>.
*/
var Base64 = {

/** Default values for encoder/decoder flags.
*/
DEFAULT : "0",
/** Encoder flag bit to omit the padding '=' characters at the end
 of the output (if any).
*/
NO_PADDING : "1",
/** Encoder flag bit to omit all line terminators (i.e., the output
 will be on one long line).
*/
NO_WRAP : "2",
/** Encoder flag bit to indicate lines should be terminated with a
 CRLF pair instead of just an LF.  Has no effect if {@code
 NO_WRAP} is specified as well.
*/
CRLF : "4",
/** Encoder/decoder flag bit to indicate using the "URL and
 filename safe" variant of Base64 (see RFC 3548 section 4) where
 {@code -} and {@code _} are used in place of {@code +} and
 {@code /}.
*/
URL_SAFE : "8",
/** Flag to pass to {@link android.util.Base64OutputStream} to indicate that it
 should not close the output stream it is wrapping when it
 itself is closed.
*/
NO_CLOSE : "16",
/**Decode the Base64-encoded data in input and return the data in
 a new byte array.

 <p>The padding '=' characters at the end are considered optional, but
 if any are present, there must be the correct number of them.
@param {String} str    the input String to decode, which is converted to
               bytes using the default charset
@param {Number} flags  controls certain features of the decoded output.
               Pass {@code DEFAULT} to decode standard Base64.
@throws IllegalArgumentException if the input contains
 incorrect padding
*/
decode : function(  ) {},

/**Decode the Base64-encoded data in input and return the data in
 a new byte array.

 <p>The padding '=' characters at the end are considered optional, but
 if any are present, there must be the correct number of them.
@param {Object {byte[]}} input the input array to decode
@param {Number} flags  controls certain features of the decoded output.
               Pass {@code DEFAULT} to decode standard Base64.
@throws IllegalArgumentException if the input contains
 incorrect padding
*/
decode : function(  ) {},

/**Decode the Base64-encoded data in input and return the data in
 a new byte array.

 <p>The padding '=' characters at the end are considered optional, but
 if any are present, there must be the correct number of them.
@param {Object {byte[]}} input  the data to decode
@param {Number} offset the position within the input array at which to start
@param {Number} len    the number of bytes of input to decode
@param {Number} flags  controls certain features of the decoded output.
               Pass {@code DEFAULT} to decode standard Base64.
@throws IllegalArgumentException if the input contains
 incorrect padding
*/
decode : function(  ) {},

/**Base64-encode the given data and return a newly allocated
 String with the result.
@param {Object {byte[]}} input  the data to encode
@param {Number} flags  controls certain features of the encoded output.
               Passing {@code DEFAULT} results in output that
               adheres to RFC 2045.
*/
encodeToString : function(  ) {},

/**Base64-encode the given data and return a newly allocated
 String with the result.
@param {Object {byte[]}} input  the data to encode
@param {Number} offset the position within the input array at which to
               start
@param {Number} len    the number of bytes of input to encode
@param {Number} flags  controls certain features of the encoded output.
               Passing {@code DEFAULT} results in output that
               adheres to RFC 2045.
*/
encodeToString : function(  ) {},

/**Base64-encode the given data and return a newly allocated
 byte[] with the result.
@param {Object {byte[]}} input  the data to encode
@param {Number} flags  controls certain features of the encoded output.
               Passing {@code DEFAULT} results in output that
               adheres to RFC 2045.
*/
encode : function(  ) {},

/**Base64-encode the given data and return a newly allocated
 byte[] with the result.
@param {Object {byte[]}} input  the data to encode
@param {Number} offset the position within the input array at which to
               start
@param {Number} len    the number of bytes of input to encode
@param {Number} flags  controls certain features of the encoded output.
               Passing {@code DEFAULT} results in output that
               adheres to RFC 2045.
*/
encode : function(  ) {},


};