Write<T>(BinaryWriter, BlobAssetReference<T>)
Serializes the blob asset data and writes the bytes to a BinaryWriter instance.
Read time 1 minuteLast updated a day ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public static void Write<T>(this BinaryWriter binaryWriter, BlobAssetReference<T> blob) where T : unmanaged
Parameters
An implementation of the BinaryWriter interface.
A reference to the blob asset to serialize.
Remarks
Additional Resources: StreamBinaryWriter, MemoryBinaryWriter