public class ObjectCodec<T> extends VariableCodec<T>
Constructor and Description |
---|
ObjectCodec() |
Modifier and Type | Method and Description |
---|---|
T |
decode(DataInput dataIn)
Read the payload of the object from the DataInput stream.
|
void |
encode(Object object,
DataOutput dataOut)
Write the payload of the object to the DataOutput stream.
|
deepCopy, estimatedSize, getFixedSize, isDeepCopySupported, isEstimatedSizeSupported
public void encode(Object object, DataOutput dataOut) throws IOException
Codec
IOException
public T decode(DataInput dataIn) throws IOException
Codec
IOException
Copyright © 2010–2021 FuseSource, Corp.. All rights reserved.