Interface Decoder<T>

All Known Implementing Classes:
DefaultDecoder, IntegerDecoder, LongDecoder, StringDecoder
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Decoder<T>
A decoder is a method of turning byte arrays into objects.
  • Method Summary

    Modifier and Type
    Method
    Description
    fromBytes(byte[] bytes)
     
  • Method Details

    • fromBytes

      T fromBytes(byte[] bytes)