Class AbstractCodec

    • Field Summary

      • Fields inherited from interface jadex.bridge.service.types.message.ICodec

        CODEC_ID
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractCodec()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] decode​(byte[] bytes)
      Decode data with the codec.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractCodec

        public AbstractCodec()
    • Method Detail

      • decode

        public byte[] decode​(byte[] bytes)
        Decode data with the codec.
        Specified by:
        decode in interface ICodec
        Parameters:
        bytes - The value bytes as byte array or input stream.
        Returns:
        The decoded object or byte array (for intermediate codecs).