Photon Fusion 2.1.1

NetworkString Class Reference

Provides static methods for NetworkString operations. More...

Static Public Member Functions

static int GetCapacity< TSize > ()
 Gets the capacity of a NetworkString of a specified size.

Detailed Description

Provides static methods for NetworkString operations.

Member Function Documentation

◆ GetCapacity< TSize >()

int GetCapacity< TSize > ( )
static

Gets the capacity of a NetworkString of a specified size.

Template Parameters
TSizeThe size of the NetworkString.
Returns
The capacity of a NetworkString of the specified size.
Type Constraints
TSize :unmanaged 
TSize :IFixedStorage