pub fn encoded_sync_message_bytes(message: &SyncMessage) -> SyncResult<usize>Expand description
Returns the exact compact JSON byte length of a synchronization message.
Event bytes are counted directly so callers can enforce storage and page limits without allocating or serializing a second payload-sized buffer.