PacketSizeFunction

public interface PacketSizeFunction

Encodes a single NMS packet and returns its serialized byte length, or -1 if unmeasurable.

Functions

Link copied to clipboard
public abstract int sizeOf(Object packet)