class final Core · roukmoute/pdf 0.6.2

PDF\Document\Files\EmbeddedFileStream
Table45/page112: attachment bytes supplied by the caller, then filtered and encrypted by the writer.

Read the source declaration ↗

Inheritance and contracts

Parent : PDF\Syntax\Object\StreamObject

Interfaces : PDF\Document\VersionedComponent, PDF\Syntax\FileStructure\BasicType, Stringable

Construction

__construct()

public function __construct(string $bytes, ?PDF\Syntax\Object\NameType $subtype = null, ?PDF\Syntax\DataStructure\Date $creationDate = null, ?PDF\Syntax\DataStructure\Date $modificationDate = null, ?PDF\Document\Files\MacFileInformation $mac = null, PDF\Syntax\Filters\Filter ...$filters)

Declared by PDF\Document\Files\EmbeddedFileStream · View the code ↗

Declared methods

validateVersion()

public function validateVersion(PDF\Syntax\FileStructure\EffectivePdfVersion $version): void

Declared by PDF\Document\Files\EmbeddedFileStream · 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>
public readonly PDF\Document\Files\EmbeddedFileParameters $parametersPDF\Document\Files\EmbeddedFileStream