Documentation

AsciiHex
in package
implements FilterInterface

Class for handling ASCII hexadecimal encoded data

Table of Contents

Interfaces

FilterInterface
Interface for filters

Methods

decode()  : string
Converts an ASCII hexadecimal encoded string into its binary representation.
encode()  : string
Converts a string into ASCII hexadecimal representation.

Methods

decode()

Converts an ASCII hexadecimal encoded string into its binary representation.

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

The input string

Return values
string

encode()

Converts a string into ASCII hexadecimal representation.

public encode(string $data[, bool $leaveEOD = false ]) : string
Parameters
$data : string

The input string

$leaveEOD : bool = false
Return values
string

        
On this page

Search results