Home | History | Annotate | Download | only in util

Lines Matching defs:DECODE

76          * Encode/decode another block of input data.  this.output is
103 * Decode the Base64-encoded data in input and return the data in
109 * @param str the input String to decode, which is converted to
112 * Pass {@code DEFAULT} to decode standard Base64.
117 public static byte[] decode(String str, int flags) {
118 return decode(str.getBytes(), flags);
122 * Decode the Base64-encoded data in input and return the data in
128 * @param input the input array to decode
130 * Pass {@code DEFAULT} to decode standard Base64.
135 public static byte[] decode(byte[] input, int flags) {
136 return decode(input, 0, input.length, flags);
140 * Decode the Base64-encoded data in input and return the data in
146 * @param input the data to decode
148 * @param len the number of bytes of input to decode
150 * Pass {@code DEFAULT} to decode standard Base64.
155 public static byte[] decode(byte[] input, int offset, int len, int flags) {
181 private static final int DECODE[] = {
201 * Decode lookup table for the "web safe" variant (RFC 3548
223 /** Non-data values in the DECODE arrays. */
244 alphabet = ((flags & URL_SAFE) == 0) ? DECODE : DECODE_WEBSAFE;
251 * len} bytes could decode to.
258 * Decode another block of input data.
289 // the non-data values in decode are small negative