-
Constructor Summary
Constructors
-
Method Summary
read(io.netty.buffer.ByteBuf buffer)
Reads a value from a ByteBuf.
void
write(io.netty.buffer.ByteBuf buffer,
Unit value)
Writes an object to a type to a ByteBuf.
-
Constructor Details
-
EmptyType
public EmptyType()
-
Method Details
-
read
public Unit read(io.netty.buffer.ByteBuf buffer)
Reads a value from a ByteBuf.
- Parameters:
buffer
- buffer to read from
- Returns:
- type based on the class type
-
write
public void write(io.netty.buffer.ByteBuf buffer,
Unit value)
Writes an object to a type to a ByteBuf.
- Parameters:
buffer
- buffer to write to
value
- value to write