Initializes a new instance of the MemoryArray<(Of <(T>)>) class.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public MemoryArray(
	void* baseAddress,
	int length
)
Visual Basic (Declaration)
Visual Basic does not support APIs that consume or return unsafe types.
Visual C++
public:
MemoryArray(
	void* baseAddress, 
	int length
)

Parameters

baseAddress
Type: System..::.Void *
Address of the memory block.
length
Type: System..::.Int32
Length of the array.

Exceptions

ExceptionCondition
System..::.ArgumentNullException baseAddress is null.
System..::.ArgumentOutOfRangeException length is less or equal zero.
System..::.NotSupportedException The type is not supported.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also