-
Nested Class Summary
Nested Classes
-
Constructor Summary
Constructors
-
Method Summary
read(io.netty.buffer.ByteBuf buffer)
Reads a value from a ByteBuf.
void
write(io.netty.buffer.ByteBuf buffer,
UUID object)
Writes an object to a type to a ByteBuf.
-
Constructor Details
-
UUIDType
public UUIDType()
-
Method Details
-
read
public UUID 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,
UUID object)
Writes an object to a type to a ByteBuf.
- Parameters:
buffer
- buffer to write to
object
- value to write