Table of Contents

Class PdfStream

Namespace
PdfEngine.Vector.Objects
Assembly
PdfEngine.Vector.dll

Stream object: dictionary followed by raw byte stream (ISO 32000-2 7.3.8).

public sealed record PdfStream : PdfObject, IEquatable<PdfObject>, IEquatable<PdfStream>
Inheritance
PdfStream
Implements
Inherited Members

Constructors

PdfStream(PdfDictionary, long, long, IPdfByteSource?, ReadOnlyMemory<byte>?)

Stream object: dictionary followed by raw byte stream (ISO 32000-2 7.3.8).

public PdfStream(PdfDictionary Dictionary, long StreamOffset, long StreamLength, IPdfByteSource? Source, ReadOnlyMemory<byte>? CachedRawBytes = null)

Parameters

Dictionary PdfDictionary
StreamOffset long
StreamLength long
Source IPdfByteSource
CachedRawBytes ReadOnlyMemory<byte>?

Properties

CachedRawBytes

public ReadOnlyMemory<byte>? CachedRawBytes { get; init; }

Property Value

ReadOnlyMemory<byte>?

Decrypted

The data was decrypted by the security handler (or is exempt): a /Crypt filter in /Filter has already been applied and passes the bytes through.

public bool Decrypted { get; init; }

Property Value

bool

Dictionary

public PdfDictionary Dictionary { get; init; }

Property Value

PdfDictionary

Source

public IPdfByteSource? Source { get; init; }

Property Value

IPdfByteSource

StreamLength

public long StreamLength { get; init; }

Property Value

long

StreamOffset

public long StreamOffset { get; init; }

Property Value

long

Methods

GetRawBytes()

public ReadOnlyMemory<byte> GetRawBytes()

Returns

ReadOnlyMemory<byte>