Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(puffin): add file reader #2751

Merged
merged 15 commits into from
Nov 20, 2023
Prev Previous commit
Next Next commit
fix: redundant type cast
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
zhongzc committed Nov 17, 2023
commit 44fcefcd1f2a66580d2ad8fe3a0513cab85bf1c7
2 changes: 1 addition & 1 deletion src/puffin/src/file_format/reader/footer.rs
Original file line number Diff line number Diff line change
@@ -160,7 +160,7 @@ impl StageParser {
},
ParseStage::Payload => BytesToRead {
offset: self.payload_offset(),
size: self.payload_size as _,
size: self.payload_size,
},
ParseStage::HeadMagic => BytesToRead {
offset: self.head_magic_offset(),