34353637383940
public String toString() { return String.format("external user id: %s" + getExternalId()); } public static User fromByteBuffer(ByteBuffer byteBuffer) { return new User(new ByteBufferMap(byteBuffer.duplicate())); }
37383940414243
public ByteBuffer toByteBuffer() { return byteBufferMap.toByteBuffer(); } public static Event fromByteBuffer(ByteBuffer byteBuffer) { return new Event(new ByteBufferMap(byteBuffer.duplicate())); }