pub struct RawOutput<W> { /* private fields */ }
Expand description
Write uncompressed (raw) ADΔER data to a stream.
Implementations§
Trait Implementations§
source§impl<W: Write> WriteCompression<W> for RawOutput<W>
impl<W: Write> WriteCompression<W> for RawOutput<W>
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 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 write_bytes(&mut self, bytes: &[u8]) -> Result<(), Error>
fn write_bytes(&mut self, bytes: &[u8]) -> Result<(), Error>
Write the given bytes to the stream
source§fn byte_align(&mut self) -> Result<()>
fn byte_align(&mut self) -> Result<()>
Align the bitstream to the next byte boundary
source§fn into_writer(&mut self) -> Option<W>
fn into_writer(&mut self) -> Option<W>
Consumes the compression stream and returns the underlying writer.
source§fn flush_writer(&mut self) -> Result<()>
fn flush_writer(&mut self) -> Result<()>
Flush the
BitWriter
. Does not flush the internal BufWriter
.