pub struct AeaReader<S>{ /* private fields */ }Implementations§
Source§impl<S> AeaReader<S>
impl<S> AeaReader<S>
pub fn new(external_key: &[u8], stream: S) -> Result<Self>
pub fn get_prologue(&mut self) -> Result<&AeaPrologue>
pub fn get_main_key(&mut self) -> Result<[u8; 32]>
pub fn get_root_header(&mut self) -> Result<&RootHeader>
pub fn get_cluster_header( &mut self, cluster_index: u32, ) -> Result<&ClusterHeader>
pub fn get_segment( &mut self, cluster_index: u32, segment_index: u32, ) -> Result<Vec<u8>>
pub fn cluster_count(&mut self) -> Result<u32>
pub fn get_all_cluster_headers(&mut self) -> Result<Vec<&ClusterHeader>>
pub fn get_all_segments_from_cluster( &mut self, cluster_index: u32, ) -> Result<Vec<Vec<u8>>>
pub fn get_decompressed_length(&mut self) -> Result<u64>
Auto Trait Implementations§
impl<S> Freeze for AeaReader<S>where
S: Freeze,
impl<S> RefUnwindSafe for AeaReader<S>where
S: RefUnwindSafe,
impl<S> Send for AeaReader<S>where
S: Send,
impl<S> Sync for AeaReader<S>where
S: Sync,
impl<S> Unpin for AeaReader<S>
impl<S> UnsafeUnpin for AeaReader<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for AeaReader<S>where
S: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more