Struct FragmentationPipelineStage
The fragmentation pipeline stage allows for packets to be broken up into smaller packets.
Implements
Inherited Members
Namespace: Unity.Networking.Transport
Assembly: Unity.Networking.Transport.dll
Syntax
[BurstCompile]
public struct FragmentationPipelineStage : INetworkPipelineStage
  Remarks
The current implementation of this pipeline stage does not handle reassembly of out-of-order fragments. Thus if it is expected that multiple fragmented messages will be in flight at the same time, and/or if sending on networks with a lot of jitter, it is recommended to pair this pipeline stage with ReliableSequencedPipelineStage.
Properties
StaticSize
Gets the value of the static size
Declaration
public int StaticSize { get; }
  Property Value
| Type | Description | 
|---|---|
| int | 
Methods
StaticInitialize(byte*, int, NetworkSettings)
Statics the initialize using the specified static instance buffer
Declaration
public NetworkPipelineStage StaticInitialize(byte* staticInstanceBuffer, int staticInstanceBufferLength, NetworkSettings settings)
  Parameters
| Type | Name | Description | 
|---|---|---|
| byte* | staticInstanceBuffer | The static instance buffer  | 
      
| int | staticInstanceBufferLength | The static instance buffer length  | 
      
| NetworkSettings | settings | The NetworkSettings  | 
      
Returns
| Type | Description | 
|---|---|
| NetworkPipelineStage | The network pipeline stage  |