Creates a reference to managed or unmanaged memory.

C# | Visual Basic | Managed C++ |
Public Sub New ( _ type As Type, _ buffer As Byte(), _ address As IntPtr, _ offset As UInteger, _ size As UInteger _ )
public: Block ( Type type, array<unsigned char>^ buffer, IntPtr address, unsigned int offset, unsigned int size )

- type (Type)
- The type of memory to reference.
- buffer (Byte[]())
- Managed address of a memory segment.
- address (IntPtr)
- Unmanaged address of a memory segment.
- offset (UInt32)
- Position with respect to the provided address of a memory segment where the data starts.
- size (UInt32)
- The size of the referenced data in bytes.