public class Base64Encoder extends Object implements Encoder
Encoder
implementation for standard base64 encoding.
Base64Decoder
Constructor and Description |
---|
Base64Encoder() |
Modifier and Type | Method and 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
Encoder
buffer.remaining()
bytes into the given input stream,
from the given buffer.encode
in interface Encoder
stream
- the output stream to encode data tobuffer
- buffer to read data fromIOException
- if an I/O error occursCopyright © 2017. All rights reserved.