Method IsBlittable
- Namespace
- Zyl.ExSpans.Reflection
- Assembly
- ExSpans.Core.dll
IsBlittable<T>()
Is blittable types (是可直接按位复制的类型)
public static bool IsBlittable<T>()
Returns
- bool
true is blittable types; otherwise is false.
Type Parameters
T
The element type (元素的类型).
Remarks
In .NET Standard 1.1~2.0, due to the inability to accurately determine, we rolled back to call the IsPrimitive<T>() method (在 .NET Standard 1.1~2.0 时, 因无法准确判断, 于是回退为调用 IsPrimitive 方法)
Blittable types: https://learn.microsoft.com/en-us/dotnet/framework/interop/blittable-and-non-blittable-types
- See Also