Public Member Functions | |
byte[] | encode (byte[] source) throws EncoderException |
![]() | |
Object | encode (Object source) throws EncoderException |
Defines common encoding methods for byte array encoders.
Definition at line 25 of file BinaryEncoder.java.
byte [] org.apache.commons.codec.BinaryEncoder.encode | ( | byte[] | source | ) | throws EncoderException |
Encodes a byte array and return the encoded data as a byte array.
source | Data to be encoded |
EncoderException | thrown if the Encoder encounters a failure condition during the encoding process. |