Flow PHP

Offsets

Read onlyYes
FinalYes

Methods

pack()  : string
unpack()  : array<int, int>

Methods

pack()

public pack(array<int, int> $offsets) : string
Parameters
$offsets : array<int, int>
Return values
string

unpack()

public unpack(string $buffer, int $count, string $layout) : array<int, int>
Parameters
$buffer : string
$count : int
$layout : string
Return values
array<int, int> —

$count + 1 offsets, the first 0, monotonic

On this page

Search results