Space Engineers
|
This is not optimal in terms of allocations, but works fine More...
Public Member Functions | |
BlitCollectionSerializer () | |
void | Serialize (ByteStream destination, ref T data) |
void | Deserialize (ByteStream source, out T data) |
Static Public Attributes | |
static readonly BlitCollectionSerializer< T, TData > | Default = new BlitCollectionSerializer<T, TData>() |
static readonly BlitSerializer< TData > | InnerSerializer = BlitSerializer<TData>.Default |
This is not optimal in terms of allocations, but works fine
T | : | ICollection<TData> | |
T | : | new() |
Definition at line 11 of file BlitCollectionSerializer.cs.
|
inline |
Definition at line 17 of file BlitCollectionSerializer.cs.
|
inline |
Implements VRage.Serialization.ISerializer< T >.
Definition at line 31 of file BlitCollectionSerializer.cs.
|
inline |
Implements VRage.Serialization.ISerializer< T >.
Definition at line 21 of file BlitCollectionSerializer.cs.
|
static |
Definition at line 14 of file BlitCollectionSerializer.cs.
|
static |
Definition at line 15 of file BlitCollectionSerializer.cs.