Interface EventPointer

    • Method Detail

      • asImpl

        io.pravega.client.stream.impl.EventPointerInternal asImpl()
        Used internally. Do not call.
        Returns:
        Implementation of EventPointer interface
      • toBytes

        java.nio.ByteBuffer toBytes()
        Serializes the Event pointer to a compact binary form.
        Returns:
        A binary representation of the event pointer.
      • fromBytes

        static EventPointer fromBytes​(java.nio.ByteBuffer eventPointer)
        Deserializes the event pointer from its serialized from obtained from calling toBytes().
        Parameters:
        eventPointer - A serialized event pointer.
        Returns:
        The event pointer object.