Method ReadValueTemp
ReadValueTemp<T>(out NativeArray<T>, ForGeneric)
Read a struct NativeArray using a Temp allocator. Equivalent to ReadValue(out value, Allocator.Temp)
Declaration
public void ReadValueTemp<T>(out NativeArray<T> value, FastBufferWriter.ForGeneric unused = default) where T : unmanaged
Parameters
Type | Name | Description |
---|---|---|
NativeArray<T> | value | The values to read |
FastBufferWriter.ForGeneric | unused | An unused parameter used for enabling overload resolution based on generic constraints |
Type Parameters
Name | Description |
---|---|
T | The type being serialized |