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
Implementation of
Codec
that delegates to
PofReader.readLongArray(int, LongArray)
and
PofWriter.writeLongArray(int, LongArray)
to deserialize and serialize
an object.- Since:
- 3.7.1
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class com.tangosol.io.pof.reflect.Codecs.AbstractCodec
encode, newInstance
-
Field Details
-
f_clzLa
Class that represents the LongArray implementation that will be serialized and deserialized into.
-
-
Constructor Details
-
LongArrayCodec
Construct a LongArrayCodec.- Parameters:
clzLa
- the Class that represents the LongArray implementation that will be serialized and deserialized into
-
-
Method Details
-
decode
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
-