class final readonly Core · roukmoute/pdf 0.6.2

PDF\Document\Fonts\CMaps\CMapCode
One source character code of 1–4 bytes (ISO 9.7.6.2, PDF p.288).

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDF\Syntax\Object\StringType $value)

Declared by PDF\Document\Fonts\CMaps\CMapCode · View the code ↗

Declared methods

add()

public function add(int $increment): self

Declared by PDF\Document\Fonts\CMaps\CMapCode · View the code ↗

hex()

public function hex(): string

Declared by PDF\Document\Fonts\CMaps\CMapCode · View the code ↗

length()

public function length(): int

Declared by PDF\Document\Fonts\CMaps\CMapCode · View the code ↗

number()

public function number(): float
Exact for all unsigned 32-bit codes, including on a 32-bit PHP runtime.

Declared by PDF\Document\Fonts\CMaps\CMapCode · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly PDF\Syntax\Object\StringType $valuePDF\Document\Fonts\CMaps\CMapCode