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.This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.