feat(figcraft-format): expose native member sizes

This commit is contained in:
Dylan M. Taylor committed 2026-11-13 06:52:59 +00:00
1 parent 30b1e426e0
commit 644e613b06
1 file changed
+8
+8
View File
@@ -139,6 +139,14 @@ impl<'a> Archive<'a> {
self.inner.contains(name)
}
pub fn declared_size(&mut self, name: &str) -> Option<u64> {
self.inner.declared_size(name)
}
pub fn compressed_size(&mut self, name: &str) -> Option<u64> {
self.inner.compressed_size(name)
}
pub fn read(&mut self, name: &str, max_bytes: u64) -> Result<Option<Vec<u8>>, craft_zip::Error> {
self.inner.read(name, max_bytes)
}