Searched refs:zero_buffer (Results 1 – 1 of 1) sorted by relevance
235 let zero_buffer = vec![0u8; 4096]; // 4KB buffer for writing zeros in create_raw_img() localVariable239 let write_size = std::cmp::min(remaining_size, zero_buffer.len()); in create_raw_img()240 file.write_all(&zero_buffer[..write_size as usize])?; in create_raw_img()