Skip to content

Commit

Permalink
refactor: rename decompress_reader to decompress
Browse files Browse the repository at this point in the history
  • Loading branch information
DerZade committed Aug 9, 2023
1 parent 7298866 commit 949c18d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/decompress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ use byteorder::{LittleEndian, ReadBytesExt, WriteBytesExt};

use crate::util::{consume_zero_byte_length_stream, peek_u8, read_bytes, M3_MARKER, M4_MARKER};

pub fn decompress_reader<I>(
reader: &mut I,
expected_size: Option<usize>,
) -> Result<Vec<u8>, crate::Error>
pub fn decompress<I>(reader: &mut I, expected_size: Option<usize>) -> Result<Vec<u8>, crate::Error>
where
I: Read + Seek,
{
Expand Down

0 comments on commit 949c18d

Please sign in to comment.