automerge/automerge/src/storage
Alex Good 837c07b23a
Correctly encode compressed changes in sync messages
Sync messages encode changes as length prefixed byte arrays. We were
calculating the length using the uncompressed bytes of a change but
encoding the bytes of the change using the (possibly) compressed bytes.
This meant that if a change was large enough to compress then it  would
fail to decode. Switch to using uncompressed bytes in sync messages.
2022-10-02 18:59:41 +01:00
..
change Remove storage-v2 feature flag 2022-08-22 21:21:21 +01:00
columns Appease clippy 2022-09-28 17:18:37 -05:00
convert Implement storage-v2 2022-08-22 21:16:47 +01:00
document Remove storage-v2 feature flag 2022-08-22 21:21:21 +01:00
load Allow empty changes when loading document format 2022-09-30 19:00:48 +01:00
parse Add a simple parser combinator library 2022-08-22 21:06:35 +01:00
save Implement storage-v2 2022-08-22 21:16:47 +01:00
change.rs Correctly encode compressed changes in sync messages 2022-10-02 18:59:41 +01:00
chunk.rs Allow for empty head indices when decoding doc 2022-09-02 14:59:51 +01:00
columns.rs Implement storage-v2 2022-08-22 21:16:47 +01:00
convert.rs Implement storage-v2 2022-08-22 21:16:47 +01:00
document.rs Allow for empty head indices when decoding doc 2022-09-02 14:59:51 +01:00
load.rs Allow for empty head indices when decoding doc 2022-09-02 14:59:51 +01:00
parse.rs Appease clippy 2022-09-28 17:18:37 -05:00
save.rs Implement storage-v2 2022-08-22 21:16:47 +01:00