Interface Encoder
-
- All Known Implementing Classes:
Base64Encoder
public interface EncoderEncode and decode byte arrays (typically from binary to 7-bit ASCII encodings).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intdecode(byte[] data, int off, int length, OutputStream out)intdecode(String data, OutputStream out)intencode(byte[] data, int off, int length, OutputStream out)
-
-
-
Method Detail
-
encode
int encode(byte[] data, int off, int length, OutputStream out) throws IOException- Throws:
IOException
-
decode
int decode(byte[] data, int off, int length, OutputStream out) throws IOException- Throws:
IOException
-
decode
int decode(String data, OutputStream out) throws IOException
- Throws:
IOException
-
-