pub struct RawOutput<W> { /* private fields */ }Expand description
Write uncompressed (raw) ADΔER data to a stream.
Trait Implementations§
source§impl<W: Write> WriteCompression<W> for RawOutput<W>
impl<W: Write> WriteCompression<W> for RawOutput<W>
source§fn into_writer(self: Box<Self>) -> Option<W>
fn into_writer(self: Box<Self>) -> Option<W>
If self.writer is a BufWriter, you’ll need to flush it yourself after this.
source§fn ingest_event(&mut self, event: &Event) -> Result<(), CodecError>
fn ingest_event(&mut self, event: &Event) -> Result<(), CodecError>
Ingest an event into the codec.
This will always write the event immediately to the underlying writer.
source§fn new(meta: CodecMetadata, writer: W) -> Self
fn new(meta: CodecMetadata, writer: W) -> Self
A struct implementing
WriteCompression should take ownership of the writer.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 byte_align(&mut self) -> Result<()>
fn byte_align(&mut self) -> Result<()>
Align the bitstream to the next byte boundary
source§fn flush_writer(&mut self) -> Result<()>
fn flush_writer(&mut self) -> Result<()>
Flush the
BitWriter. Does not flush the internal BufWriter.