Skip to main content

getReceivedPackets

Summary

Parse and return all complete packets received since the last call.

Signature

Parameters

No parameters.

Returns

Type:Uint8Array[] Parse and return all complete packets received since the last call.

Remarks

Partial packets are retained internally and combined with future chunks until they are complete. Call this method once per frame.