SplittingFrameEncoder
Read onlyYes
FinalYes
Methods
- __construct() : mixed
- encode() : array<int, array{string, int}>
- One frame when the batch fits; otherwise halved until every part does.
Methods
__construct()
public
__construct(Backend $backend[, Codec $codec = new NoopCodec() ]) : mixed
Parameters
encode()
One frame when the batch fits; otherwise halved until every part does.
public
encode(Rows $rows) : array<int, array{string, int}>
Parameters
- $rows : Rows
Tags
Return values
array<int, array{string, int}> —[frame body, rows it holds], in row order