Struct yaz0::inflate::Yaz0Archive [−][src]
Wraps a reader of Yaz0 data, providing decompression methods.
Methods
impl<R> Yaz0Archive<R> where
R: Read + Seek,
[src]
impl<R> Yaz0Archive<R> where
R: Read + Seek,
pub fn new(reader: R) -> Result<Yaz0Archive<R>, Error>
[src]
pub fn new(reader: R) -> Result<Yaz0Archive<R>, Error>
Creates a new Yaz0
from a reader.
pub fn decompress(&mut self) -> Result<Vec<u8>, Error>
[src]
pub fn decompress(&mut self) -> Result<Vec<u8>, Error>
Decompresses the Yaz0 file, producing a Vec<u8>
of the decompressed data.
Trait Implementations
Auto Trait Implementations
impl<R> Send for Yaz0Archive<R> where
R: Send,
impl<R> Send for Yaz0Archive<R> where
R: Send,
impl<R> Sync for Yaz0Archive<R> where
R: Sync,
impl<R> Sync for Yaz0Archive<R> where
R: Sync,