Class Codecs.LongArrayCodec

    • Field Detail

      • f_clzLa

        protected Class<LongArray<Object>> f_clzLa
        Class that represents the LongArray implementation that will be serialized and deserialized into.
    • Constructor Detail

      • LongArrayCodec

        public LongArrayCodec​(Class<LongArray<Object>> clzLa)
        Construct a LongArrayCodec.
        Parameters:
        clzLa - the Class that represents the LongArray implementation that will be serialized and deserialized into
    • Method Detail

      • decode

        public Object decode​(PofReader in,
                             int index)
                      throws IOException
        Deserialize an object from the provided PofReader. Implementing this interface allows introducing specific return implementations.
        Parameters:
        in - the PofReader to read from
        index - the index of the POF property to deserialize
        Returns:
        a specific implementation of the POF property
        Throws:
        IOException - if an I/O error occurs