Hide compressed blocks from binrw output

This commit is contained in:
Joshua Goins 2025-02-24 18:21:25 -05:00
parent 2ce74d3177
commit e725df9374

View file

@ -167,6 +167,8 @@ pub struct CompressedBlock {
#[derive(Debug)] #[derive(Debug)]
pub struct CompressedSaveFile { pub struct CompressedSaveFile {
#[br(parse_with = until_eof)] #[br(parse_with = until_eof)]
#[br(temp)]
#[bw(ignore)]
pub data: Vec<CompressedBlock>, pub data: Vec<CompressedBlock>,
#[br(parse_with = read_tagged_data, args(&data))] #[br(parse_with = read_tagged_data, args(&data))]
pub value: TaggedSerialization, pub value: TaggedSerialization,