@Deprecated public interface BinaryEncoder extends Encoder
| Modifier and Type | Method and Description |
|---|---|
byte[] |
encode(byte[] source)
Deprecated.
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 © 2000-2021 Apache Software Foundation. All Rights Reserved.