interface CodecInterface implements EncoderInterface, DecoderInterface
The interface implemented by codecs.
Methods
string |
encode(string $data)
Encode the supplied data. |
from EncoderInterface |
TransformStreamInterface |
createEncodeStream(integer|null $bufferSize = null)
Create a new encode stream. |
from EncoderInterface |
string |
decode(string $data)
Decode the supplied data. |
from DecoderInterface |
TransformStreamInterface |
createDecodeStream(integer|null $bufferSize = null)
Create a new decode stream. |
from DecoderInterface |
Details
in EncoderInterface at line 29
public string
encode(string $data)
Encode the supplied data.
in EncoderInterface at line 38
public TransformStreamInterface
createEncodeStream(integer|null $bufferSize = null)
Create a new encode stream.
in DecoderInterface at line 29
public string
decode(string $data)
Decode the supplied data.
in DecoderInterface at line 38
public TransformStreamInterface
createDecodeStream(integer|null $bufferSize = null)
Create a new decode stream.