Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
PdfHexString Class Reference

Class representing a hexadecimal encoded PDF string object. More...

Inheritance diagram for PdfHexString:

Static Public Member Functions

static create ($string)
 Helper method to create an instance.
 
static ensure ($hexString)
 Ensures that the passed value is a PdfHexString instance.
 
static parse (StreamReader $streamReader)
 Parses a hexadecimal string object from the stream reader.
 

Detailed Description

Class representing a hexadecimal encoded PDF string object.

Member Function Documentation

◆ create()

static PdfHexString::create ( $string)
static

Helper method to create an instance.

Parameters
string$stringThe hex encoded string.
Return values
self

◆ ensure()

static PdfHexString::ensure ( $hexString)
static

Ensures that the passed value is a PdfHexString instance.

Parameters
mixed$hexString
Return values
self
Exceptions
PdfTypeException

◆ parse()

static PdfHexString::parse ( StreamReader $streamReader)
static

Parses a hexadecimal string object from the stream reader.

Parameters
StreamReader$streamReader
Return values
false|self

The documentation for this class was generated from the following file: