ZlibEncodeBase
extends StreamFilterBase
in package
AbstractYes
Table of Contents
Constants
- STATE_CLOSED = 4
- STATE_CLOSING = 3
- STATE_OPENING = 1
- STATE_PROCESSING = 2
Methods
- filter() : int
- onCreate() : bool
- getZlibEncoding() : int
- processFooter() : string
- processHeader() : string
- processPayload() : string
Constants
STATE_CLOSED
public
mixed
STATE_CLOSED
= 4
STATE_CLOSING
public
mixed
STATE_CLOSING
= 3
STATE_OPENING
public
mixed
STATE_OPENING
= 1
STATE_PROCESSING
public
mixed
STATE_PROCESSING
= 2
Methods
filter()
public
final filter(mixed $in, mixed $out, mixed &$consumed, mixed $closing) : int
Parameters
- $in : mixed
- $out : mixed
- $consumed : mixed
- $closing : mixed
Return values
intonCreate()
public
onCreate() : bool
Return values
boolgetZlibEncoding()
protected
abstract static getZlibEncoding() : int
Return values
intprocessFooter()
protected
processFooter() : string
Return values
stringprocessHeader()
protected
processHeader() : string
Return values
stringprocessPayload()
protected
processPayload(string $data) : string
Parameters
- $data : string