Package 

Interface Decoder


  • 
    public interface Decoder<I extends Object, O extends Object>
    
                        
    Typeclass defining how to decode an input value to an output value, possibly failing with E
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class Companion
    • Method Summary

      Modifier and Type Method Description
      abstract EOr<O> decode(I input) Decodes an input, possibly failing with E
      • Methods inherited from class e.kotlin.codec.Decoder

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

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

      • decode

         abstract EOr<O> decode(I input)
        Decodes an input, possibly failing with E
        Parameters:
        input - An input