@Singleton public class FstTranscoder extends java.lang.Object implements Transcoder
| Constructor and Description |
|---|
FstTranscoder() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
decode(byte[] encoded)
Decode the object from bytes.
|
byte[] |
encode(java.lang.Object value)
Encode the object to bytes.
|
public byte[] encode(java.lang.Object value)
throws TranscodeException,
java.io.IOException
Transcoderencode in interface Transcodervalue - the value to encode.java.io.IOExceptionTranscodeExceptionpublic java.lang.Object decode(byte[] encoded)
Transcoderdecode in interface Transcoderencoded - the encoded bytes.