diff --git a/repak/src/entry.rs b/repak/src/entry.rs index 980d780..d27c820 100644 --- a/repak/src/entry.rs +++ b/repak/src/entry.rs @@ -205,6 +205,7 @@ impl Entry { } if version.version_major() >= VersionMajor::CompressionEncryption { if let Some(blocks) = &self.blocks { + writer.write_u32::(blocks.len() as u32)?; for block in blocks { block.write(writer)?; }