类 SerializingConverter

    • 方法详细资料

      • convert

        public byte[] convert​(Object source)
        Serializes the source object and returns the byte array result.
        指定者:
        convert 在接口中 Converter<Object,​byte[]>
        参数:
        source - the source object to convert, which must be an instance of S (never null)
        返回:
        the converted object, which must be an instance of T (potentially null)