Serializes an Automerge document to the standard binary format, which can be saved to disk or transmitted over a network. The binary format is compatible across all Automerge implementations (JavaScript, Rust, etc.).
Arguments
- doc
An Automerge document (created with
am_create()oram_load())