Blittable types

Blittable types have an identical presentation in memory for both Managed & Unmanaged environments, and can be directly shared by them. Hence, it does not require special attention from the interop marshaler.
• System.Byte • System.SByte • System.Int16
• System.UInt16 • System.Int32 • System.UInt32
• System.Int64 • System.IntPtr • System.UIntPtr
Additionally, one-dimensional arrays of these types as well as complex types containing only fields of these types are blittable. The following are some commonly-used non-blittable types in the .NET framework: System.Boolean, System.Char, System.Object, System.String

Comments

Popular posts from this blog

How to show only month and year fields in android Date-picker?

How to construct a B+ tree with example

Conflict Serializability in database