class final readonly Core · pdftoolkit/pdf 0.12.4

PDF\Document\Metadata\XmpUtf8Encoding
EC3 #296, physical p.730: an encoding check, not an XML/XMP schema validator.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Declared methods

accepts()

public function accepts(string $bytes): bool

Declared by PDF\Document\Metadata\XmpUtf8Encoding · View the code ↗

validate()

public function validate(string $bytes): void

Declared by PDF\Document\Metadata\XmpUtf8Encoding · View the code ↗