public interface Codec
PofWriter
that is not carried out by PofWriter.writeObject(int, Object).| Modifier and Type | Method and Description |
|---|---|
Object |
decode(PofReader in,
int iProp)
Deserialize an object from the provided
PofReader. |
void |
encode(PofWriter out,
int iProp,
Object value)
Serialize an object using the provided
PofWriter. |
Object decode(PofReader in, int iProp) throws IOException
PofReader.
Implementing this interface allows introducing specific return
implementations.in - the PofReader to read fromiProp - the index of the POF property to deserializeIOException - if an I/O error occursvoid encode(PofWriter out, int iProp, Object value) throws IOException
PofWriter.out - the PofWriter to read fromiProp - the index of the POF property to serializevalue - the value to serializeIOException - if an I/O error occurs