Open a memory stream.

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

Syntax

C#
public static FIMEMORY OpenMemory(
	IntPtr data,
	uint size_in_bytes
)
Visual Basic (Declaration)
Public Shared Function OpenMemory ( _
	data As IntPtr, _
	size_in_bytes As UInteger _
) As FIMEMORY
Visual C++
public:
static FIMEMORY OpenMemory(
	IntPtr data, 
	unsigned int size_in_bytes
)

Parameters

data
Type: System..::.IntPtr
Pointer to the data in memory.
size_in_bytes
Type: System..::.UInt32
Length of the data in byte.

Return Value

Handle to a memory stream.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also