class abstract Core · roukmoute/pdf 0.6.1
PDF\Document\Fonts\FontStreamFont data starts decoded; filters must actually encode the supplied bytes.Inheritance and contracts
Parent : PDF\Syntax\Object\StreamObject
Interfaces : PDF\Document\VersionedComponent, PDF\Syntax\FileStructure\BasicType, Stringable
Construction
__construct()
protected function __construct(string $bytes, ?PDF\Syntax\Object\DictionaryType $dictionary, PDF\Syntax\Filters\Filter ...$filters)Declared methods
validateVersion()
public function validateVersion(PDF\Syntax\FileStructure\EffectivePdfVersion $version): voidInherited methods
4 methods from parents and contracts
__toString()
public function __toString(): stringbytes()
public function bytes(PDF\Serialization\SerializationContext $context): stringdictionary()
public function dictionary(): PDF\Syntax\Object\DictionaryTypetoPdf()
public function toPdf(PDF\Serialization\SerializationContext $context): stringProperties
| 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> |