Encoderpublic class Base64Encoder extends Object implements Encoder
Encoder implementation for standard base64 encoding.
Base64Decoder| Constructor | Description |
|---|---|
Base64Encoder() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
encode(OutputStream stream,
ByteBuffer buffer) |
Encodes up to
buffer.remaining() bytes into the given input stream,
from the given buffer. |
public void encode(OutputStream stream, ByteBuffer buffer) throws IOException
Encoderbuffer.remaining() bytes into the given input stream,
from the given buffer.encode in interface Encoderstream - the output stream to encode data tobuffer - buffer to read data fromIOException - if an I/O error occursCopyright © 2018. All rights reserved.