diff options
author | metamuffin <metamuffin@disroot.org> | 2025-03-15 21:31:40 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-03-15 21:31:40 +0100 |
commit | ed6ed7a62217369544f3e31ef9a886f459f0c21b (patch) | |
tree | c36f0e344e00b32c563494f77dd4191dc55f8c94 /src/classes/streaminginfo.rs | |
parent | ca02789996b94db87cd84571edb42bbcd9a3a18b (diff) | |
download | unity-tools-ed6ed7a62217369544f3e31ef9a886f459f0c21b.tar unity-tools-ed6ed7a62217369544f3e31ef9a886f459f0c21b.tar.bz2 unity-tools-ed6ed7a62217369544f3e31ef9a886f459f0c21b.tar.zst |
assetbundle struct to abstract over unityfs and serializedfile
Diffstat (limited to 'src/classes/streaminginfo.rs')
-rw-r--r-- | src/classes/streaminginfo.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classes/streaminginfo.rs b/src/classes/streaminginfo.rs index 21029f4..e308f1c 100644 --- a/src/classes/streaminginfo.rs +++ b/src/classes/streaminginfo.rs @@ -26,7 +26,7 @@ impl FromValue for StreamingInfo { } impl StreamingInfo { - pub fn read(&self, fs: &mut UnityFS<impl Read + Seek>) -> Result<Vec<u8>> { + pub fn read(&self, fs: &UnityFS<impl Read + Seek>) -> Result<Vec<u8>> { if !self.path.starts_with("archive:") { bail!("StreamingInfo path does not start on archive:") } |