Documentation

PacketBatch
in package

Table of Contents

$buffer  : string
__construct()  : mixed
fromPackets()  : PacketBatch
Constructs a packet batch from the given list of packets.
getBuffer()  : string
getPackets()  : Generator|array<string|int, Packet>|array<string|int, null>

Properties

Methods

__construct()

public __construct(string $buffer) : mixed
Parameters
$buffer : string
Return values
mixed

getBuffer()

public getBuffer() : string
Return values
string

Search results