class Core · roukmoute/pdf 0.6.2

PDF\Syntax\Object\StreamObject
7.3.8. Length describes encoded bytes, excluding the delimiter newline.

Read the source declaration ↗

Inheritance and contracts

Interfaces : PDF\Syntax\FileStructure\BasicType, Stringable

Traits : PDF\Serialization\SerializesPdf

25 directly derived types

Construction

__construct()

public function __construct(PDF\Syntax\ContentStreamsResources\ContentStreams|string $data, ?PDF\Syntax\Object\DictionaryType $dictionary = null, PDF\Syntax\Filters\Filter ...$filters)

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

Declared methods

__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>