five-on-it / packages/protocol/src/codec / encodeSnapshot
Function: encodeSnapshot()
encodeSnapshot(
message):Uint8Array
Defined in: packages/protocol/src/codec.ts:369
Encodes a snapshot frame: the header, the entities, then the events of the interval.
Parameters
message
Returns
Uint8Array