Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: