public interface ByteBufWriter<T>
Modifier and Type | Method and Description |
---|---|
void |
write(io.netty.buffer.ByteBuf buffer,
T object)
Write an object to a type to a ByteBuf
|
void write(io.netty.buffer.ByteBuf buffer, T object) throws java.lang.Exception
buffer
- The buffer to write toobject
- The object to writejava.lang.Exception
- Throws if it failed to write