public static class Base64Coder.Encoder extends Base64Coder.Coder
限定符和类型 | 字段和说明 |
---|---|
boolean |
do_cr |
boolean |
do_newline |
boolean |
do_padding |
static int |
LINE_GROUPS
Emit a new line every this many output tuples.
|
op, output
构造器和说明 |
---|
Encoder(int flags,
byte[] output) |
限定符和类型 | 方法和说明 |
---|---|
int |
maxOutputSize(int len) |
boolean |
process(byte[] input,
int offset,
int len,
boolean finish)
Encode/decode another block of input data. this.output is
provided by the caller, and must be big enough to hold all
the coded data.
|
public static final int LINE_GROUPS
public final boolean do_padding
public final boolean do_newline
public final boolean do_cr
public int maxOutputSize(int len)
maxOutputSize
在类中 Base64Coder.Coder
len
bytes
could encode to.public boolean process(byte[] input, int offset, int len, boolean finish)
Base64Coder.Coder
process
在类中 Base64Coder.Coder
finish
- true if this is the final call to process for
this object. Will finalize the coder state and
include any final bytes in the output.