Package 

Class ScaleCodecAdapter

  • All Implemented Interfaces:

    
    public abstract class ScaleCodecAdapter<T extends Object>
    
                        

    Provides a default interface for adapters

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • ScaleCodecAdapter

        ScaleCodecAdapter()
    • Method Detail

      • write

         abstract ByteArray write(T obj, KType type, List<Annotation> annotations)

        Writes (encodes) the object

        Parameters:
        obj - a generiic object to needs to be written
        type - a required KType
        annotations - a list of annotations.