@FunctionalInterface
public static interface DynamicType.DataReader<T>
Modifier and Type | Method and Description |
---|---|
void |
read(io.netty.buffer.ByteBuf buf,
T value)
Reads a value from the buffer and adds it to the data.
|
void read(io.netty.buffer.ByteBuf buf, T value) throws java.lang.Exception
buf
- buffervalue
- valuejava.lang.Exception
- if an error occurs during buffer reading