add

abstract fun add(    seqno: SequenceNumber,     site: SiteIdentifier,     event: ByteArray,     from: Int = 0,     until: Int = event.size)

Adds an event at the current implicit cursor position, and moves the cursor after the inserted element.

See also

Parameters

seqno

the SequenceNumber of the inserted event.

site

the SiteIdentifier of the inserted event.

event

the ByteArray of the event.

from

the start index of the data.

until

the end index of the data.