class final Optional · pdftoolkit/pdf-reader 0.8.1

PDF\Reading\Import\ImportedStream
@internal The native stream is allocated before its dictionary references are remapped.

Read the source declaration ↗

Inheritance and contracts

Parent : PDF\Syntax\Object\StreamObject

Interfaces : PDF\Syntax\FileStructure\BasicType, Stringable

Construction

__construct()

public function __construct()

Declared by PDF\Reading\Import\ImportedStream · View the code ↗

Declared methods

seal()

public function seal(string $bytes, PDF\Syntax\Object\DictionaryType $dictionary, PDF\Syntax\Filters\Filter ...$filters): void

Declared by PDF\Reading\Import\ImportedStream · View the code ↗

Inherited methods

4 methods from parents and contracts

__toString()

public function __toString(): string

Declared by PDF\Syntax\Object\StreamObject · View the code ↗

bytes()

public function bytes(PDF\Serialization\SerializationContext $context): string

Declared by PDF\Syntax\Object\StreamObject · View the code ↗

dictionary()

public function dictionary(): PDF\Syntax\Object\DictionaryType

Declared by PDF\Syntax\Object\StreamObject · View the code ↗

toPdf()

public function toPdf(PDF\Serialization\SerializationContext $context): string

Declared by PDF\Syntax\Object\StreamObject · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly PDF\Syntax\ContentStreamsResources\ContentStreams|string $dataPDF\Syntax\Object\StreamObject
public readonly array $filtersPDF\Syntax\Object\StreamObject
@var list<Filter>