Struct lopdf_bugfix_19072017::Stream [] [src]

pub struct Stream {
    pub dict: Dictionary,
    pub content: Vec<u8>,
    pub allows_compression: bool,
}

Stream object Warning - all streams must be indirect objects, while the stream dictionary may be a direct object

Fields

Associated stream dictionary

Contents of the stream in bytes

Can the stream be compressed by the Document::compress() function? Font streams may not be compressed, for example

Methods

impl Stream
[src]

Default is that the stream may be compressed. On font streams, set this to false, otherwise the font will be corrupt

impl Stream
[src]

Decode content after decoding all stream filters.

Trait Implementations

impl Debug for Stream
[src]

Formats the value using the given formatter.

impl Clone for Stream
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more