We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f43168 commit 11a4934Copy full SHA for 11a4934
src/json-crdt/codec/indexed/binary/README.md
@@ -0,0 +1,13 @@
1
+## Binary Indexed Format
2
+
3
+The Binary Index encoding format for JSON CRDT returns a flat map, where each
4
+key is a string and each value is an `Uint8Array` blob.
5
6
+The map has the following keys:
7
8
+- `"r"` - ID of the root node.
9
+- `"c"` - Clock table of the document.
10
+- `"{sid}_{time}` - Each key is a string of the form `{sid}_{time}`, where
11
+ `sid` is the session ID index in the clock table encoded as Base36 and `time`
12
+ is the logical clock sequence number encoded as Base36. The value is the
13
+ encoded node.
0 commit comments