Package 

Interface MediaTypeDecoder

  • All Implemented Interfaces:

    
    public interface MediaTypeDecoder
    
                        

    Decoder for binary data that is related to specific media type.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract <T extends Any> T decode(Source data, KType type) Decodes binary data into a specific Java/Kotlin type.
      • Methods inherited from class kotlin.Any

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • decode

         abstract <T extends Any> T decode(Source data, KType type)

        Decodes binary data into a specific Java/Kotlin type.

        Parameters:
        data - Binary data source.
        type - Target Java/Kotlin type.