public interface BinaryEncoder extends Encoder
Modifier and Type | Method and Description |
---|---|
byte[] |
encode(byte[] pArray)
Encodes a byte array and return the encoded data as a byte array.
|
byte[] encode(byte[] pArray) throws EncoderException
pArray
- Data to be encodedEncoderException
- thrown if the Encoder encounters a failure condition during the encoding process.Copyright © 2015 JBoss by Red Hat. All Rights Reserved.