pub struct RawInput<R: Read + Seek> { /* private fields */ }
Expand description
Read uncompressed (raw) ADΔER data from a stream.
Implementations§
Trait Implementations§
source§impl<R: Read + Seek> ReadCompression<R> for RawInput<R>
impl<R: Read + Seek> ReadCompression<R> for RawInput<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 RawInput<R>where R: RefUnwindSafe,
impl<R> Send for RawInput<R>where R: Send,
impl<R> Sync for RawInput<R>where R: Sync,
impl<R> Unpin for RawInput<R>where R: Unpin,
impl<R> UnwindSafe for RawInput<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