Class PdfStream
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
DictionaryPdfDictionaryStreamOffsetlongStreamLengthlongSourceIPdfByteSourceCachedRawBytesReadOnlyMemory<byte>?
Properties
CachedRawBytes
public ReadOnlyMemory<byte>? CachedRawBytes { get; init; }
Property Value
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
Dictionary
public PdfDictionary Dictionary { get; init; }
Property Value
Source
public IPdfByteSource? Source { get; init; }
Property Value
StreamLength
public long StreamLength { get; init; }
Property Value
StreamOffset
public long StreamOffset { get; init; }
Property Value
Methods
GetRawBytes()
public ReadOnlyMemory<byte> GetRawBytes()