Home | History | Annotate | Download | only in util

Lines Matching defs:Encoder

29      * Default values for encoder/decoder flags.
34 * Encoder flag bit to omit the padding '=' characters at the end
40 * Encoder flag bit to omit all line terminators (i.e., the output
46 * Encoder flag bit to indicate lines should be terminated with a
53 * Encoder/decoder flag bit to indicate using the "URL and
510 Encoder encoder = new Encoder(flags, null);
516 if (encoder.do_padding) {
529 if (encoder.do_newline && len > 0) {
530 output_len += (((len-1) / (3 * Encoder.LINE_GROUPS)) + 1) *
531 (encoder.do_cr ? 2 : 1);
534 encoder.output = new byte[output_len];
535 encoder.process(input, offset, len, true);
537 assert encoder.op == output_len;
539 return encoder.output;
542 /* package */ static class Encoder extends Coder {
581 public Encoder(int flags, byte[] output) {
604 // Using local variables makes the encoder about 9% faster.