public static class Codecs.LongArrayCodec extends Codecs.AbstractCodec
Codec
that delegates to
PofReader.readLongArray(int, LongArray)
and
PofWriter.writeLongArray(int, LongArray)
to deserialize and serialize
an object.Modifier and Type | Field | Description |
---|---|---|
protected Class<LongArray<Object>> |
f_clzLa |
Class that represents the LongArray implementation that will be
serialized and deserialized into.
|
Constructor | Description |
---|---|
LongArrayCodec(Class<LongArray<Object>> clzLa) |
Construct a LongArrayCodec.
|
Modifier and Type | Method | Description |
---|---|---|
Object |
decode(PofReader in,
int index) |
Deserialize an object from the provided
PofReader . |
encode, newInstance
public Object decode(PofReader in, int index) throws IOException
PofReader
.
Implementing this interface allows introducing specific return
implementations.in
- the PofReader to read fromindex
- the index of the POF property to deserializeIOException
- if an I/O error occurs