Package com.tangosol.io.pof.reflect
Class Codecs.LongArrayCodec
- java.lang.Object
-
- com.tangosol.io.pof.reflect.Codecs.AbstractCodec
-
- com.tangosol.io.pof.reflect.Codecs.LongArrayCodec
-
- All Implemented Interfaces:
Codec
- Enclosing class:
- Codecs
public static class Codecs.LongArrayCodec extends Codecs.AbstractCodec
Implementation ofCodec
that delegates toPofReader.readLongArray(int, LongArray)
andPofWriter.writeLongArray(int, LongArray)
to deserialize and serialize an object.- Since:
- 3.7.1
-
-
Constructor Summary
Constructors Constructor Description LongArrayCodec(Class<LongArray<Object>> clzLa)
Construct a LongArrayCodec.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
decode(PofReader in, int index)
Deserialize an object from the providedPofReader
.-
Methods inherited from class com.tangosol.io.pof.reflect.Codecs.AbstractCodec
encode, newInstance
-
-
-
-
Method Detail
-
decode
public Object decode(PofReader in, int index) throws IOException
Deserialize an object from the providedPofReader
. Implementing this interface allows introducing specific return implementations.- Parameters:
in
- the PofReader to read fromindex
- the index of the POF property to deserialize- Returns:
- a specific implementation of the POF property
- Throws:
IOException
- if an I/O error occurs
-
-