MapDecoder implements ValueDecoder
FinalYes
Interfaces
Methods
- __construct() : mixed
- decode() : array<string|int, mixed>
Methods
__construct()
public
__construct(ValueDecoder $key, ValueDecoder $value) : mixed
Parameters
- $key : ValueDecoder
- $value : ValueDecoder
decode()
public
decode(string $data, int &$position) : array<string|int, mixed>
Parameters
- $data : string
- $position : int
-
read position, advanced past the consumed bytes