Interface BinaryEncoder
- All Superinterfaces:
Encoder
- All Known Implementing Classes:
Base64
Defines common encoding methods for byte array encoders.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
encode
(byte[] pArray) Encodes a byte array and return the encoded data as a byte array.
-
Method Details
-
encode
Encodes a byte array and return the encoded data as a byte array.- Parameters:
pArray
- Data to be encoded- Returns:
- A byte array containing the encoded data
- Throws:
EncoderException
- thrown if the Encoder encounters a failure condition during the encoding process.
-