Little detail about FramedPacket

This commit is contained in:
themode 2021-01-01 23:37:20 +01:00
parent 4bf120b714
commit 4f5847ff10

View File

@ -4,7 +4,7 @@ import io.netty.buffer.ByteBuf;
import org.jetbrains.annotations.NotNull;
/**
* Represents a packet which is already framed.
* Represents a packet which is already framed. (packet id->payload) + optional compression
* Can be used if you want to send the exact same buffer to multiple clients without processing it more than once.
*/
public class FramedPacket {