Flow PHP

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

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
throws
OffsetOverflow

a single row past the frame's offset range, its row named

FrameTooLarge

a single row past the frame's size, its row named

Return values
array<int, array{string, int}> —

[frame body, rows it holds], in row order

On this page

Search results