setasign\SetaPDF2\Core\Filter

AsciiHex Class for handling ASCII hexadecimal data

File: /SetaPDF v2/Core/Filter/AsciiHex.php
Old class name (alias): \SetaPDF_Core_Filter_AsciiHex

Class hierarchy

Implements

Summary

Methods

decode()

public AsciiHex::decode (
string $data
): string

Converts an ASCII hexadecimal encoded string into it's binary representation.

Parameters
$data : string

The input string

See

encode()

public AsciiHex::encode (
string $data,
bool $leaveEOD = false
): string

Converts a string into ASCII hexadecimal representation.

Parameters
$data : string

The input string

$leaveEOD : bool
 
See