Class Base64Encoder
java.lang.Object
com.twelvemonkeys.io.enc.Base64Encoder
- All Implemented Interfaces:
Encoder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencode(OutputStream stream, ByteBuffer buffer) Encodes up tobuffer.remaining()bytes into the given input stream, from the given buffer.
-
Constructor Details
-
Base64Encoder
public Base64Encoder()
-
-
Method Details
-
encode
Description copied from interface:EncoderEncodes up tobuffer.remaining()bytes into the given input stream, from the given buffer.- Specified by:
encodein interfaceEncoder- Parameters:
stream- the output stream to encode data tobuffer- buffer to read data from- Throws:
IOException- if an I/O error occurs
-