class final readonly Core · roukmoute/pdf 0.7.0

PDF\Syntax\DataStructure\PdfDocOrUtf16TextStringEncoding
Unambiguous PDFDocEncoding or UTF-16BE (ISO_32000-2_sponsored_EC3.pdf, PDF pp. 131–132).

Read the source declaration ↗

Inheritance and contracts

Interfaces : PDF\Syntax\DataStructure\TextStringEncoding

Declared methods

encode()

public function encode(string $text): string

Declared by PDF\Syntax\DataStructure\PdfDocOrUtf16TextStringEncoding · View the code ↗

validateVersion()

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

Declared by PDF\Syntax\DataStructure\PdfDocOrUtf16TextStringEncoding · View the code ↗