Struct brotli_decompressor::writer::DecompressorWriterCustomAlloc
[−]
[src]
pub struct DecompressorWriterCustomAlloc<W: Write, BufferType: SliceWrapperMut<u8>, AllocU8: Allocator<u8>, AllocU32: Allocator<u32>, AllocHC: Allocator<HuffmanCode>>(_);
Methods
impl<W: Write, BufferType: SliceWrapperMut<u8>, AllocU8, AllocU32, AllocHC> DecompressorWriterCustomAlloc<W, BufferType, AllocU8, AllocU32, AllocHC> where
AllocU8: Allocator<u8>,
AllocU32: Allocator<u32>,
AllocHC: Allocator<HuffmanCode>,
[src]
AllocU8: Allocator<u8>,
AllocU32: Allocator<u32>,
AllocHC: Allocator<HuffmanCode>,
fn new(
w: W,
buffer: BufferType,
alloc_u8: AllocU8,
alloc_u32: AllocU32,
alloc_hc: AllocHC
) -> Self
[src]
w: W,
buffer: BufferType,
alloc_u8: AllocU8,
alloc_u32: AllocU32,
alloc_hc: AllocHC
) -> Self
fn new_with_custom_dictionary(
w: W,
buffer: BufferType,
alloc_u8: AllocU8,
alloc_u32: AllocU32,
alloc_hc: AllocHC,
dict: AllocU8::AllocatedMemory
) -> Self
[src]
w: W,
buffer: BufferType,
alloc_u8: AllocU8,
alloc_u32: AllocU32,
alloc_hc: AllocHC,
dict: AllocU8::AllocatedMemory
) -> Self
fn get_ref(&self) -> &W
[src]
fn get_mut(&mut self) -> &mut W
[src]
Trait Implementations
impl<W: Write, BufferType: SliceWrapperMut<u8>, AllocU8: Allocator<u8>, AllocU32: Allocator<u32>, AllocHC: Allocator<HuffmanCode>> Write for DecompressorWriterCustomAlloc<W, BufferType, AllocU8, AllocU32, AllocHC>
[src]
fn write(&mut self, buf: &[u8]) -> Result<usize, Error>
[src]
Write a buffer into this object, returning how many bytes were written. Read more
fn flush(&mut self) -> Result<(), Error>
[src]
Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more
fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
1.0.0[src]
Attempts to write an entire buffer into this write. Read more
fn write_fmt(&mut self, fmt: Arguments) -> Result<(), Error>
1.0.0[src]
Writes a formatted string into this writer, returning any error encountered. Read more
fn by_ref(&mut self) -> &mut Self
1.0.0[src]
Creates a "by reference" adaptor for this instance of Write
. Read more