Documentation

ZlibFilteredStream extends AbstractFilteredStream
in package

FinalYes

Table of Contents

Constants

STATE_CLOSED  : mixed = 4
STATE_CLOSING  : mixed = 3
STATE_OPENING  : mixed = 1
STATE_PROCESSING  : mixed = 2

Methods

__construct()  : mixed
__toString()  : string
close()  : void
detach()  : resource|null
eof()  : bool
getContents()  : string
getMetadata()  : array<string|int, mixed>|mixed|null
getSize()  : int|null
isReadable()  : bool
isSeekable()  : bool
isWritable()  : bool
read()  : string
seek()  : void
tell()  : int
write()  : int
processFooter()  : string
processHeader()  : string
processPayload()  : string

Constants

Methods

__construct()

public __construct(StreamInterface $stream, int $zlibCoding) : mixed
Parameters
$stream : StreamInterface
$zlibCoding : int

getMetadata()

public getMetadata([string|null $key = null ]) : array<string|int, mixed>|mixed|null
Parameters
$key : string|null = null
Return values
array<string|int, mixed>|mixed|null

read()

public read(int $length) : string
Parameters
$length : int
Tags
throws
RuntimeException
Return values
string

seek()

public seek(int $offset[, int $whence = SEEK_SET ]) : void
Parameters
$offset : int
$whence : int = SEEK_SET
Tags
throws
BadMethodCallException

processPayload()

protected processPayload(string $data) : string
Parameters
$data : string
Return values
string
On this page

Search results