Transcoder
in
Table of Contents
Methods
decode()
public
decode(string $bytes, int $flags) : mixed
Parameters
- $bytes : string
- $flags : int
Tags
Return values
mixed —decoded value
encode()
public
encode(mixed $value) : array<string|int, mixed>
Parameters
- $value : mixed
Tags
Return values
array<string|int, mixed> —pair of string and int, that represents encoded value and flags