PinnedBufferT Constructor (T, Int32, Int32) |
Initializes a new instance with an existing type T array and pins memory
position.
Namespace:
Arsenal.ImageMounter.IO
Assembly:
Arsenal.ImageMounter (in Arsenal.ImageMounter.dll) Version: 1.0.0.0 (3.4.140.0)
Syntax public PinnedBuffer(
T[] instance,
int arrayOffset,
int arrayItems
)
Public Sub New (
instance As T(),
arrayOffset As Integer,
arrayItems As Integer
)
public:
PinnedBuffer(
array<T>^ instance,
int arrayOffset,
int arrayItems
)
new :
instance : 'T[] *
arrayOffset : int *
arrayItems : int -> PinnedBuffer
Parameters
- instance
- Type: T
Existing object to marshal to unmanaged memory. - arrayOffset
- Type: SystemInt32
- arrayItems
- Type: SystemInt32
See Also