putUtf(buf, event.getEventClassFqn()); if (!eventDataIsEmpty) { put(buf, event.getEventData().array());
buf.put((byte) nf.getUserExternalId().length()); buf.putShort((short) nf.getEndpointAccessToken().length()); putUtf(buf, nf.getUserExternalId()); putUtf(buf, nf.getEndpointAccessToken()); buf.put(NOTHING); buf.putShort((short) nf.getEndpointAccessToken().length()); putUtf(buf, nf.getEndpointAccessToken());