FileAccess Orion

EightBitContentEncoder
in package
implements ContentEncoderInterface

Tags
author

Fabien Potencier fabien@symfony.com

Interfaces, Classes, Traits and Enums

ContentEncoderInterface

Table of Contents

encodeByteStream()  : iteratable<string|int, mixed>
Encodes the stream to a Generator.
encodeString()  : string
getName()  : string
Gets the MIME name of this content encoding scheme.

Methods

encodeByteStream()

Encodes the stream to a Generator.

public encodeByteStream(mixed $stream, int $maxLineLength) : iteratable<string|int, mixed>
Parameters
$stream : mixed
$maxLineLength : int
Return values
iteratable<string|int, mixed>

encodeString()

public encodeString(string $string[, string|null $charset = 'utf-8' ], int $firstLineOffset, int $maxLineLength) : string
Parameters
$string : string
$charset : string|null = 'utf-8'
$firstLineOffset : int
$maxLineLength : int
Return values
string

getName()

Gets the MIME name of this content encoding scheme.

public getName() : string
Return values
string

Search results