This is the main encoding method. It's only visible for testing.
@param byteBufAllocator Allocates ByteBuf @param message MQTT message to encode @return ByteBuf with encoded bytes
See Implementation
This is the main encoding method. It's only visible for testing.
@param byteBufAllocator Allocates ByteBuf @param message MQTT message to encode @return ByteBuf with encoded bytes