Stored Doc
constructor(snapshot: ByteArray, meta: ByteArray? = null, changes: List<StoredChange> = emptyList())
Parameters
snapshot
a dev.yorkie.document.Document.toBytes envelope.
meta
checkpoint and changeID as of the last sync. Absent until the first one. Held apart from snapshot because a sync has to advance it constantly while the snapshot stays put.
changes
changes appended since snapshot, ascending by StoredChange.clientSeq.