Struct adder_codec_core::codec::compressed::stream::CompressedInput
source · pub struct CompressedInput<R: Read> { /* private fields */ }
Expand description
Read compressed ADΔER data from a stream.
Implementations§
Trait Implementations§
source§impl<R: Read + Seek> ReadCompression<R> for CompressedInput<R>
impl<R: Read + Seek> ReadCompression<R> for CompressedInput<R>
source§fn meta(&self) -> &CodecMetadata
fn meta(&self) -> &CodecMetadata
Returns a reference to the metadata
source§fn meta_mut(&mut self) -> &mut CodecMetadata
fn meta_mut(&mut self) -> &mut CodecMetadata
Returns a mutable reference to the metadata
source§fn read_bytes(
&mut self,
bytes: &mut [u8],
reader: &mut BitReader<R, BigEndian>
) -> Result<()>
fn read_bytes( &mut self, bytes: &mut [u8], reader: &mut BitReader<R, BigEndian> ) -> Result<()>
Read a certain number of bytes from the stream, indicated by the size of the buffer passed.
source§fn digest_event(
&mut self,
reader: &mut BitReader<R, BigEndian>
) -> Result<Event, CodecError>
fn digest_event( &mut self, reader: &mut BitReader<R, BigEndian> ) -> Result<Event, CodecError>
Read the next event from the stream. Returns
None
if the stream is exhausted.source§fn set_input_stream_position(
&mut self,
reader: &mut BitReader<R, BigEndian>,
pos: u64
) -> Result<(), CodecError>
fn set_input_stream_position( &mut self, reader: &mut BitReader<R, BigEndian>, pos: u64 ) -> Result<(), CodecError>
Set the input stream position to the given byte offset.
Auto Trait Implementations§
impl<R> RefUnwindSafe for CompressedInput<R>where
R: RefUnwindSafe,
impl<R> Send for CompressedInput<R>where
R: Send,
impl<R> Sync for CompressedInput<R>where
R: Sync,
impl<R> Unpin for CompressedInput<R>where
R: Unpin,
impl<R> UnwindSafe for CompressedInput<R>where
R: 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