Interface FromByteBufMapper<T>

Type Parameters:
T - Internal representation type
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@NonNullByDefault @FunctionalInterface public interface FromByteBufMapper<T>
Interface for transforming bytes into their internal representation.
  • Method Summary

    Modifier and Type
    Method
    Description
    bytesToObject(long index, ByteBuf bytes)
    Converts the contents of a ByteBuf to an object.
  • Method Details

    • bytesToObject

      T bytesToObject(long index, ByteBuf bytes)
      Converts the contents of a ByteBuf to an object.
      Parameters:
      index - entry index
      bytes - entry bytes
      Returns:
      resulting object