diff --git a/src/file.rs b/src/file.rs index 3381dff..786cef8 100644 --- a/src/file.rs +++ b/src/file.rs @@ -25,7 +25,9 @@ u128 resource_uuid //global block layout (variable size) u64 num_blocks -for block_id in 0..num_blocks{ +//the start of the first block is implicitly after the global header (32) +//num_blocks+1 used in Header.block_location is implicitly the end of the file +for block_id in 1..num_blocks{ u64 first_byte }