1681-engine / index / encodeSnapshotFrame
Function: encodeSnapshotFrame() ​
ts
function encodeSnapshotFrame<S>(snap): Uint8Array;Defined in: src/net/snapshotCodec.ts:133
A snapshot as the server frames it: binary when it carries updates (see the layout above).
Type Parameters ​
| Type Parameter |
|---|
S extends SnapshotLike |
Parameters ​
| Parameter | Type |
|---|---|
snap | S |
Returns ​
Uint8Array