Interface ObjectEncoder<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      io.vavr.Tuple2<byte[],​ch.raffael.meldioc.library.codec.ContentType> encode​(T value)  
      ch.raffael.meldioc.library.codec.ContentType encode​(T value, java.io.OutputStream target)  
    • Method Detail

      • encode

        ch.raffael.meldioc.library.codec.ContentType encode​(T value,
                                                            java.io.OutputStream target)
                                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • encode

        io.vavr.Tuple2<byte[],​ch.raffael.meldioc.library.codec.ContentType> encode​(T value)
                                                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception