public interface BinaryEncoder extends Encoder
Modifier and Type | Method and Description |
---|---|
byte[] |
encode(byte[] source)
Encodes a byte array and return the encoded data as a byte array.
|
byte[] encode(byte[] source) throws EncoderException
source
- Data to be encodedEncoderException
- thrown if the Encoder encounters a failure condition during the encoding process.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.