SetaPDF_Core_Filter_RunLength Class for handling run-length compression

File: /SetaPDF v2/Core/Filter/RunLength.php

Class hierarchy

Implements

Summary

Methods

decode()

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

Decodes run-length compressed string.

Parameters
$data : string
 
Exceptions

Throws SetaPDF_Core_Filter_Exception

encode()

public SetaPDF_Core_Filter_RunLength::encode (
string $data
): string

Encodes a string with run-length compression.

Parameters
$data : string