Lines Matching defs:encode
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) {
597 * len} bytes could encode to.