append

abstract fun append(    site: SiteIdentifier,     event: ByteArray,     from: Int = 0,     until: Int = event.size): EventIdentifier

Appends a new event in the MutableEventLog for the given SiteIdentifier. The MutableEventLog should be owned by the given SiteIdentifier, to ensure no duplicate insertions can occur.

Parameters

site

the SiteIdentifier for the inserted event.

event

the body of the event.

from

where the event body should be read.

until

where the event body should be read.