FreeImage.NET Class Library Reference
MemoryArrayT Constructor (IntPtr, Int32) |
Initializes a new instance of the MemoryArrayT class.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public MemoryArray( IntPtr baseAddress, int length )
Parameters
- baseAddress
- Type: SystemIntPtr
Address of the memory block. - length
- Type: SystemInt32
Length of the array.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | baseAddress is null. |
ArgumentOutOfRangeException | length is less or equal zero. |
NotSupportedException | The type is not supported. |
See Also