class final Core · roukmoute/pdf 0.6.2
PDF\Syntax\FileStructure\ObjectStreamA real object stream with byte offsets and generation-zero members (7.5.7).
The writer must reserve the member numbers before assigning other numbers,
and must exclude these members from standalone indirect-object output.
Encryption dictionaries and indirect stream-length objects must be excluded
by the document writer, which knows those relationships.Inheritance and contracts
Parent : PDF\Syntax\Object\StreamObject
Interfaces : PDF\Syntax\FileStructure\BasicType, Stringable
Construction
__construct()
public function __construct(PDF\Syntax\FileStructure\ObjectStreamEntry|PDF\Syntax\Filters\Filter ...$parts)Declared methods
bytes()
public function bytes(PDF\Serialization\SerializationContext $context): stringdecodedBytes()
public function decodedBytes(PDF\Serialization\SerializationContext $context): stringThe unencoded header and object bodies, with offsets measured in bytes.dictionaryFor()
public function dictionaryFor(PDF\Serialization\SerializationContext $context): PDF\Syntax\Object\DictionaryTypeembeddedEntries()
public function embeddedEntries(): array@return list<ObjectStreamEntry>toPdf()
public function toPdf(PDF\Serialization\SerializationContext $context): stringwithFilters()
public function withFilters(PDF\Syntax\Filters\Filter ...$filters): selfReplace decoding filters, preserving the same object-valued members.Inherited methods
2 methods from parents and contracts
__toString()
public function __toString(): stringdictionary()
public function dictionary(): PDF\Syntax\Object\DictionaryTypeProperties
| Declaration | Origin and documentation |
|---|---|
public readonly PDF\Syntax\ContentStreamsResources\ContentStreams|string $data | PDF\Syntax\Object\StreamObject |
public readonly array $filters | PDF\Syntax\Object\StreamObject@var list<Filter> |