Documentation

Transcoder

Table of Contents

decode()  : mixed
encode()  : array<string|int, mixed>

Methods

decode()

public decode(string $bytes, int $flags) : mixed
Parameters
$bytes : string
$flags : int
Tags
since
4.0.0
Return values
mixed

decoded value

encode()

public encode(mixed $value) : array<string|int, mixed>
Parameters
$value : mixed
Tags
since
4.0.0
Return values
array<string|int, mixed>

pair of string and int, that represents encoded value and flags


        

Search results