A library for reading Blockland save files. Generally tries to work around format errors like Blockland does.
Create a Reader
from a
BufRead
source to
read the save metadata and iterate over its bricks.
let file = BufReader::new(File::open("House.bls")?);
let reader = bl_save::Reader::new(file)?;
println!("Description: {}", reader.description());
println!("Brick count: {}", reader.brick_count());
assert_eq!(reader.colors().len(), 64);
for brick in reader {
let brick = brick?;
}