@FunctionalInterface
public interface ByteBufReader<T>
Modifier and Type | Method and Description |
---|---|
T |
read(io.netty.buffer.ByteBuf buffer)
Reads a value from a ByteBuf.
|
T read(io.netty.buffer.ByteBuf buffer) throws java.lang.Exception
buffer
- buffer to read fromjava.lang.Exception
- if it failed reading