Struct lopdf::Stream
[−]
[src]
pub struct Stream { pub dict: Dictionary, pub content: Vec<u8>, }
Stream Object.
Fields
dict: Dictionary
content: Vec<u8>
Methods
impl Stream
[src]
fn new(dict: Dictionary, content: Vec<u8>) -> Stream
fn filter(&self) -> Option<String>
fn set_content(&mut self, content: Vec<u8>)
fn compress(&mut self)
fn decompress(&mut self)
impl Stream
[src]
fn decode_content(&self) -> Result<Content>
Decode content after decoding all stream filters.
Trait Implementations
impl Debug for Stream
[src]
impl Clone for Stream
[src]
fn clone(&self) -> Stream
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more