BlittableValueType Class

Definition

Checks whether the specified type parameter is a blittable value type.

public static class BlittableValueType
type BlittableValueType = class
Inheritance
BlittableValueType

Remarks

A blittable value type is a struct that only references other value types recursively, which allows it to be passed to unmanaged code directly.

Methods

Check<T>(T)

Checks whether type is a blittable value type.

Check<T>(T[,,])

Checks whether type is a blittable value type.

Check<T>(T[,])

Checks whether type is a blittable value type.

Check<T>(T[])

Checks whether type is a blittable value type.

Check<T>(T[][])

Checks whether type is a blittable value type.

StrideOf<T>(T)

Returns the size of the specified value type in bytes.

StrideOf<T>(T[,,])

Returns the size of a single array element in bytes.

StrideOf<T>(T[,])

Returns the size of a single array element in bytes.

StrideOf<T>(T[])

Returns the size of a single array element in bytes.

Applies to