Documentation

Unity Engine


Unity Engine


Read<T>(BinaryReader)

Reads bytes from a BinaryReader instance and deserializes them into a new blob asset.
Read time 1 minuteLast updated a day ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public static BlobAssetReference<T> Read<T>(this BinaryReader binaryReader) where T : unmanaged

Parameters

binaryReader

An implementation of the BinaryReader interface.

Returns

Type

Description

BlobAssetReference<T>A reference to the deserialized blob asset.

Remarks

Additional Resources: StreamBinaryReader, MemoryBinaryReader