class final readonly Optional · pdftoolkit/pdf-reader 0.1.7

PDF\Reading\EncodedStream
Original stream bytes and dictionary; parsing alone never executes a codec.

Read the source declaration ↗

Inheritance and contracts

Interfaces : PDF\Syntax\FileStructure\BasicType, Stringable

Traits : PDF\Serialization\SerializesPdf

Construction

__construct()

public function __construct(PDF\Syntax\Object\DictionaryType $dictionary, string $bytes)

Declared by PDF\Reading\EncodedStream · View the code ↗

Declared methods

__toString()

public function __toString(): string

Declared by PDF\Reading\EncodedStream · View the code ↗

dictionary()

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

Declared by PDF\Reading\EncodedStream · View the code ↗

encodedBytes()

public function encodedBytes(): string

Declared by PDF\Reading\EncodedStream · View the code ↗

toPdf()

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

Declared by PDF\Reading\EncodedStream · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly string $bytesPDF\Reading\EncodedStream
public readonly PDF\Syntax\Object\DictionaryType $dictionaryPDF\Reading\EncodedStream