public interface Byteable
Modifier and Type | Method and Description |
---|---|
byte[] |
toBytes()
The recommendation that the first four bytes contain the integer packet
type is for bring able to write efficient demultiplexers that will not
attempt to decode an incoming packet unless the type matches one of the
types they expect to receive.
|
byte[] toBytes()