Interface DynamicType.DataReader<T>

Enclosing class:
DynamicType<T extends IdHolder>
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 static interface DynamicType.DataReader<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    read(io.netty.buffer.ByteBuf buf, T value)
    Reads a value from the buffer and adds it to the data.
  • Method Details

    • read

      void read(io.netty.buffer.ByteBuf buf, T value)
      Reads a value from the buffer and adds it to the data.
      Parameters:
      buf - buffer
      value - value