Interface MoeEncoder
public interface MoeEncoder
Encodes data into the byte representation of a supported format.
- Author:
- indroneel
-
Method Summary
-
Method Details
-
convert
Encodes the supplied data using the default formatting.- Parameters:
data- the data to encode- Returns:
- the encoded data as a byte array
- Throws:
CodecException
-
convert
Encodes the supplied data, optionally formatting the output for readability.- Parameters:
data- the data to encodepretty- whether to format the output for readability- Returns:
- the encoded data as a byte array
- Throws:
CodecException
-