All Downloads are FREE. Search and download functionalities are using the official Maven repository.

panda.codec.BinaryEncoder Maven / Gradle / Ivy

Go to download

Panda Core is the core module of Panda Framework, it contains commonly used utility classes similar to apache-commons.

There is a newer version: 1.8.0
Show newest version
package panda.codec;

/**
 * Defines common encoding methods for byte array encoders.
 */
public interface BinaryEncoder extends Encoder {
	/**
	 * Encodes a byte array and return the encoded data as a byte array.
	 * 
	 * @param pArray Data to be encoded
	 * @return A byte array containing the encoded data
	 * @throws EncoderException thrown if the Encoder encounters a failure condition during the
	 *             encoding process.
	 */
	byte[] encode(byte[] pArray) throws EncoderException;
}  





© 2015 - 2024 Weber Informatics LLC | Privacy Policy