Creates a new JSON CRDT patch decoder.
An optional custom implementation of a CRDT decoder.
Decodes a JSON CRDT patch from a binary blob.
Binary data to decode.
A JSON CRDT patch.
ProtecteddecodeProtecteddecodeProtecteddecodeProtecteddecodeDecodes only one level of objects and arrays. Other values are decoded completely.
One level of decoded CBOR value.
Remove this?
Decodes primitive values, returns container values as JsonPackValue.
A primitive value, or CBOR container value as a blob.
Throws if at given offset in a buffer there is an invalid CBOR value, or
if the value does not span the exact length specified in size. I.e.
throws if:
size.size.Buffer in which to validate CBOR value.
Optionaloffset: numberOffset at which the value starts.
Optionalsize: numberExpected size of the value.
JSON CRDT Patch "binary" codec decoder.