Skip to main content
Module

x/automerge/index.ts>next.encodeSyncState

A JSON-like data structure (a CRDT) that can be modified concurrently by different users, and merged again automatically.
Latest
function next.encodeSyncState
import { next } from "https://deno.land/x/automerge@2.2.2/index.ts";
const { encodeSyncState } = next;

encode a SyncState into binary to send over the network

Returns

Uint8Array