Provides a direct buffer access to a memory stream.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public static bool AcquireMemory( FIMEMORY stream, ref IntPtr data, ref uint size_in_bytes ) |
Visual Basic (Declaration) |
---|
Public Shared Function AcquireMemory ( _ stream As FIMEMORY, _ ByRef data As IntPtr, _ ByRef size_in_bytes As UInteger _ ) As Boolean |
Visual C++ |
---|
public: static bool AcquireMemory( FIMEMORY stream, IntPtr% data, unsigned int% size_in_bytes ) |
Parameters
- stream
- Type: FreeImageAPI..::.FIMEMORY
The target memory stream.
- data
- Type:
System..::.IntPtr
%
Pointer to the data in memory.
- size_in_bytes
- Type:
System..::.UInt32
%
Size of the data in bytes.