Encode exact operations into an uncompressed versioned payload. The outer change section supplies compression, authentication and framing.
(ops: &[FileOps], content: &[u8])
| 210 | /// Encode exact operations into an uncompressed versioned payload. The outer |
| 211 | /// change section supplies compression, authentication and framing. |
| 212 | pub fn encode(ops: &[FileOps], content: &[u8]) -> FormatResult<Vec<u8>> { |
| 213 | encode_layout(ops, content, true) |
| 214 | } |
| 215 | |
| 216 | pub(super) fn encode_layout( |
| 217 | ops: &[FileOps], |