io/region: use ChunkArray to parse region header

A layout of a ChunkArray::<u32> matches the binary format of the region
header.
This commit is contained in:
Matthias Schiffer 2023-01-27 22:12:02 +01:00
parent 28b22ce423
commit daa188eb1d
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C
3 changed files with 15 additions and 9 deletions

View file

@ -9,6 +9,7 @@ default-run = "minedmap"
[dependencies]
anyhow = "1.0.68"
bytemuck = "1.13.0"
clap = { version = "4.1.4", features = ["derive"] }
fastnbt = "2.3.2"
flate2 = "1.0.25"