Photon Fusion 2.1.1

IReadOnlySpanAssignable Interface Reference

Marks a type as being able to be initialized with a ReadOnlySpan of uint values. Used for deserialization of generic types that are mapped to fixed storage types. More...

Inherited by IFixedStorage, and NetworkString< TSize >.

Public Member Functions

void Set (ReadOnlySpan< uint > values)
 Initializes the fixed storage with the specified values.

Detailed Description

Marks a type as being able to be initialized with a ReadOnlySpan of uint values. Used for deserialization of generic types that are mapped to fixed storage types.

Member Function Documentation

◆ Set()

void Set ( ReadOnlySpan< uint > values)

Initializes the fixed storage with the specified values.

Parameters
values

Implemented in _128, _16, _2, _256, _32, _4, _512, _64, _8, and NetworkString< TSize >.