public class ObjectCodec<T> extends VariableCodec<T>
| Constructor and Description |
|---|
ObjectCodec() |
| Modifier and Type | Method and Description |
|---|---|
T |
decode(java.io.DataInput dataIn)
Read the payload of the object from the DataInput stream.
|
void |
encode(java.lang.Object object,
java.io.DataOutput dataOut)
Write the payload of the object to the DataOutput stream.
|
deepCopy, estimatedSize, getFixedSize, isDeepCopySupported, isEstimatedSizeSupportedpublic void encode(java.lang.Object object,
java.io.DataOutput dataOut)
throws java.io.IOException
Codecjava.io.IOExceptionCopyright © 2010-2014 FuseSource, Corp.. All Rights Reserved.