Remove seek requirement for writing

This commit is contained in:
G2-Games 2024-07-08 16:32:07 -05:00
parent d3a0944e8c
commit 4e5cced21c

View file

@ -207,7 +207,7 @@ impl Pak {
} }
/// Encode a PAK file into a byte stream. /// Encode a PAK file into a byte stream.
pub fn encode<T: Write + Seek>( pub fn encode<T: Write>(
&self, &self,
mut output: &mut T mut output: &mut T
) -> Result<(), PakError> { ) -> Result<(), PakError> {