Class SerializingConverter

    • Method Detail

      • convert

        public byte[] convert​(Object source)
        Serializes the source object and returns the byte array result.
        Specified by:
        convert in interface Converter<Object,​byte[]>
        Parameters:
        source - the source object to convert, which must be an instance of S (never null)
        Returns:
        the converted object, which must be an instance of T (potentially null)