Method Write
Write<T>(BinaryWriter, BlobAssetReference<T>)
Serializes the blob asset data and writes the bytes to a Binary
Declaration
public static void Write<T>(this BinaryWriter binaryWriter, BlobAssetReference<T> blob) where T : unmanaged
Parameters
Type | Name | Description |
---|---|---|
Binary |
binaryWriter | An implementation of the BinaryWriter interface. |
Blob |
blob | A reference to the blob asset to serialize. |
Type Parameters
Name | Description |
---|---|
T | The blob asset's root data type. |