Lines Matching defs:ENCODE
76 * Encode/decode another block of input data. this.output is
446 * Base64-encode the given data and return a newly allocated
449 * @param input the data to encode
456 return new String(encode(input, flags), "US-ASCII");
464 * Base64-encode the given data and return a newly allocated
467 * @param input the data to encode
470 * @param len the number of bytes of input to encode
477 return new String(encode(input, offset, len, flags), "US-ASCII");
485 * Base64-encode the given data and return a newly allocated
488 * @param input the data to encode
493 public static byte[] encode(byte[] input, int flags) {
494 return encode(input, 0, input.length, flags);
498 * Base64-encode the given data and return a newly allocated
501 * @param input the data to encode
504 * @param len the number of bytes of input to encode
509 public static byte[] encode(byte[] input, int offset, int len, int flags) {
554 private static final byte ENCODE[] = {
587 alphabet = ((flags & URL_SAFE) == 0) ? ENCODE : ENCODE_WEBSAFE;
597 * len} bytes could encode to.