@Override
    public final void sendOutgoingMessage(@NonNull OutgoingMessage outgoingMessage) {
        ByteArrayDataOutput dataOutput = ByteStreams.newDataOutput();
        dataOutput.writeUTF(outgoingMessage.asEncodedString());

        byte[] buf = dataOutput.toByteArray();

        sendOutgoingMessage(buf);
    }
The {@link IncomingMessageConsumer} used by the messenger.
common/src/main/java/me/lucko/luckperms/common/messaging/pluginmsg/AbstractPluginMessageMessenger.java